blackberry

Is it possible to convert android app to blackberry app?

╄→尐↘猪︶ㄣ 提交于 2020-01-14 13:47:06
问题 Is it possible to convert an android app to blackberry app? I read that it's possible on Blackberry PlayBook, with limitations but it can be possible. I would like to know if i can convert an android smartphone app to run in a blackberry smartphone. Thanks in advance! 回答1: There's no straight way to convert an android application to a BlackBerry smartphone application that runs RIM OS operating system. The most recent version of RIM OS is 7.1. But for BB 10 devices it is announced that these

Custom PopUp to work like tooltip without time out

怎甘沉沦 提交于 2020-01-14 05:38:08
问题 I need to create a Customised PopUp to work like a ToolTip How can i achieve it i have worked on a code please check out and tell me where i need improvement import net.rim.device.api.ui.Graphics; import net.rim.device.api.ui.component.LabelField; import net.rim.device.api.ui.container.PopupScreen; import net.rim.device.api.ui.container.VerticalFieldManager; public class ToolTip extends PopupScreen{ private static VerticalFieldManager vfm; private LabelField lbl; private int xPosition;

Error in xml file while creating a project in black berry

眉间皱痕 提交于 2020-01-13 14:06:25
问题 I just created a new project in the eclipse and as soon as it was created, it is created with the error below InvalidRegex: Pattern value '([a-zA-Z_]{1,63}[\s-a-zA-Z_0-9.]{0,63}[;]?)*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '\-'.' at column '{2}'. BlackBerry_App_Descriptor.xml Unknown XML Problem. This is the problem which we will get when there is jre7 in our system which is not supported by eclipse What is the problem here? How

Error in xml file while creating a project in black berry

房东的猫 提交于 2020-01-13 14:06:02
问题 I just created a new project in the eclipse and as soon as it was created, it is created with the error below InvalidRegex: Pattern value '([a-zA-Z_]{1,63}[\s-a-zA-Z_0-9.]{0,63}[;]?)*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '\-'.' at column '{2}'. BlackBerry_App_Descriptor.xml Unknown XML Problem. This is the problem which we will get when there is jre7 in our system which is not supported by eclipse What is the problem here? How

BlackBerry - TreeField with CheckBoxField?

妖精的绣舞 提交于 2020-01-13 05:38:31
问题 Is it possible to add a CheckBoxField to a TreeField in BlackBerry ? If yes, how do I do it? 回答1: Same trick as with ListBox CheckBoxes: alt text http://img441.imageshack.us/img441/5120/checkboxtree.jpg class CBTreeField extends VerticalFieldManager implements TreeFieldCallback, DrawStyle { boolean[] mBooleanValues = new boolean[] {}; String[] mStringValues = new String[] {}; public boolean getNodeBooleanValue(int node) { return mBooleanValues[node]; } public void setNodeBooleanValue(int node

Which Version of Blackberry JRE is required for Developing BlackBerry OS6

谁都会走 提交于 2020-01-13 05:15:19
问题 I downloaded the Eclipse plugin for BlackBerry which has the BlackBerry OS 7 runtime by default. I need to target BlackBerry OS 6 and OS 7 devices. Will this work for BlackBerry OS 6 as well, or do I need to change the the JRE? If I need change the JRE, how do I do that? 回答1: What you have already downloaded will be fine for developing for BlackBerry OS 7. However, to also develop for OS 6 devices, you should install the OS 6.0 plugin SDK, too. Currently, this blackberry.com page describes

Common link to open iOS, Android and BlackBerry app

妖精的绣舞 提交于 2020-01-12 06:04:19
问题 Each platform has its own way of opening installed apps via URL. Android has a URL pattern that can be registered, iOS you can set the URL scheme. How do I send a single URL via mail and make that link open my app on iOS and Android based on the platform the URL was clicked? 回答1: You could write a simple web page to detect what browser the request came from and then redirect to the appropriate link. For instance, here is an explanation of redirecting in PHP. Edit: Below is a code example. On

Common link to open iOS, Android and BlackBerry app

℡╲_俬逩灬. 提交于 2020-01-12 06:02:00
问题 Each platform has its own way of opening installed apps via URL. Android has a URL pattern that can be registered, iOS you can set the URL scheme. How do I send a single URL via mail and make that link open my app on iOS and Android based on the platform the URL was clicked? 回答1: You could write a simple web page to detect what browser the request came from and then redirect to the appropriate link. For instance, here is an explanation of redirecting in PHP. Edit: Below is a code example. On

How to set a font to LabelField text in Blackberry?

时间秒杀一切 提交于 2020-01-11 19:49:33
问题 I don't know how to apply font style to a text in a LabelField in Blackberry . 回答1: Here's a post which has a ResponseLabelField that extends LabelField and shows how to set the font: http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&thread.id=37988 Here's a quick code snippet for you: LabelField displayLabel = new LabelField("Test", LabelField.FOCUSABLE) { protected void paintBackground(net.rim.device.api.ui.Graphics g) { g.clear(); g.getColor(); g.setColor(Color.CYAN);

Font Awesome Icons are not working in some browsers

前提是你 提交于 2020-01-11 17:05:51
问题 I'm using Bootstrap + Font Awesome, and all is ok with most desktop and mobile browsers, but Font awesome icons are not working with some browser like opera Mobile, Opera Mini, and some version of Android Browser. Only displays a blank rectangle. Does anyone know that problem? and , Is there a solution ? Thanks [EDIT 2013-03-06 !Important] I couldn't find any apparent problem, so I tried with unheard solutions. I tried with two online font conversion tools. First I used http://www