blackberry-eclipse-plugin

To change the ButtonField background during click event in BlackBerry

老子叫甜甜 提交于 2019-12-04 17:41:00
In BlackBerry, how to change the ButtonField background color during the click event? For example, for the long press the background color needs to change. For me it takes the default color blue. How to change it? This is our custom buttton field. But it shows the default blue color for the button click event. public class CustomButtonField extends ButtonField implements GlobalConstant { int mHeight; int mWidth; public final static int DEFAULT_BACKGROUND_COLOR_NORMAL = 0x167c9c; public final static int DEFAULT_BACKGROUND_COLOR_ON_FOCUS = 0x188118; private int backgroundColorNormal = DEFAULT

Uninstall BlackBerry app installed via Eclipse

半世苍凉 提交于 2019-12-04 16:19:35
I imported the PaneManagerDemo sample project in my BB Eclipse workspace, and right-clicked on the project > Load Project(s) on Device. I get a Pane Manager Demo icon on my home screen - OK. It doesn't run, because I'm using a Curve 8330 (OS 4.5.0.138), and some of the classes used in the demo are not supported. How do I delete it from my handheld? When I run: javaloader dir I see: PaneManagerDemo 0.9 12232 Fri Apr 29 02:57:24 2011 The following commands: javaloader info PaneManagerDemo javaloader info PaneManagerDemo.cod javaloader info PaneManagerDemo.jar javaloader info PaneManagerDemo.jad

How to package and deploy blackberry apps to device from Eclipse

允我心安 提交于 2019-12-04 07:01:23
How do I package and distribute my apps from the Eclipse IDE? My apps work within the simulators, but I have no idea how to deploy them to my blackberry device. I moved the files to the Media card but I kept getting errors (i.e. invalid COD errors). Is there an appropriate way. It worked fine in the simulator! If your app uses any controlled APIs you will first need to get it signed by RIM. For more info on how to apply for code signing keys look here . Once you have your keys installed you can sign your app through eclipse. If you're using Blackberry plugin 1.0 go to BlackBerry > Request

Could not load BlackBerry webwork+PhoneGap application in BlackBerry 6.0 simulator

两盒软妹~` 提交于 2019-12-02 16:48:19
问题 I have my application ready on BlackBerry webwork and PhoneGap. I successfully run it using eclipse plug-in for BB 5.0 and BB 6.0. But when I tried to wipe user data from BB 6.0 and tried to directly load .cod file from StandardInstall directory, application does not open. It just display splash screen. I get error like "ApplicationRegistry.wait For (0x3bc6259193b4b87c) timeout" I am wondering that is it a simulator bug or something? Notes: I tested both singed and unsigned application. Above

Can't make new Blackberry Project

放肆的年华 提交于 2019-12-02 14:11:43
问题 Basically I use eclipse and I installed the plugin for blackberry, however even know if I go to about and it is listed as installed, I cannot create a new project, or open the perspective either. It's nowhere to be found in the new project menu. I just followed what was on here: http://us.blackberry.com/developers/javaappdev/javaplugin.jsp Is there something else I need to do? 回答1: I have the very same problem. I download blackberry jde 7.1 for eclipse. Try to add new blackberry project, but

Http connection error on the blackberry real device

蹲街弑〆低调 提交于 2019-12-02 13:44:57
问题 I am trying to build a simple application for testing purpose in which I am making a simple Http connection .The code is running perfectly on the simulator but when I am testing the app on the real device it is not returning any response code. I think there is some error in http connection . Here is the code that I am using for http connection: httpConnection = (HttpConnection)Connector.open("http://www.google.com"); The device that I am using is Blackberry 8520 v5.0.0.592 Also give me some

Developing BlackBerry applications for different screen sizes

若如初见. 提交于 2019-12-02 11:34:09
问题 I am developing an application on JDE 4.5. The 4.5 OS is supported by the Pearl, Curve and Huron so the application which I am developing will support all the above devices. The problem which I am facing is screen size. Screen Size of the Pearl is 240 x 260, Curve 320 x 240, Huron 320 x 240. I am facing the following problems: What should be the dimensions of the background image? How should i place the fields (button , label....)? Can any one please help me out. Thanks a lot 回答1: Blackberry

Developing BlackBerry applications for different screen sizes

血红的双手。 提交于 2019-12-02 07:04:37
I am developing an application on JDE 4.5. The 4.5 OS is supported by the Pearl, Curve and Huron so the application which I am developing will support all the above devices. The problem which I am facing is screen size. Screen Size of the Pearl is 240 x 260, Curve 320 x 240, Huron 320 x 240. I am facing the following problems: What should be the dimensions of the background image? How should i place the fields (button , label....)? Can any one please help me out. Thanks a lot Blackberry device resolutions can be broadly placed in two categories: Low Resolution (width less than or equal to

Country name with space not accepted in BlackBerry ObjectChoiceField

僤鯓⒐⒋嵵緔 提交于 2019-12-02 06:54:18
问题 I am developing a registration page in BlackBerry app. I am sending all the fields entered to the local server.Country is one of the form fields and is in a ObjectChoiceField. Whenever user selects a country having more than one word for ex: United States of America, it says sign up failed. When user selects country with single name, registration is always successful.Can anybody guide me how can I make the ObjectChoiceField accept the spaces or remove the spaces in the country? 回答1: There is

Can't make new Blackberry Project

大兔子大兔子 提交于 2019-12-02 03:56:05
Basically I use eclipse and I installed the plugin for blackberry, however even know if I go to about and it is listed as installed, I cannot create a new project, or open the perspective either. It's nowhere to be found in the new project menu. I just followed what was on here: http://us.blackberry.com/developers/javaappdev/javaplugin.jsp Is there something else I need to do? I have the very same problem. I download blackberry jde 7.1 for eclipse. Try to add new blackberry project, but there are no Blackberry project option. Check my JDK version, turns out I installed jdk 5 Remove the jdk 5,