blackberry

BlackBerry - How to show the system status bar on top of the application screen

Hi My question is rather simple, but I couldn't find an answer, could be because I'm using the wrong terms, but let me try: is there a way for a BlackBerry application (extending the regular Screen component) to keep the status bar visible (by status bar, to clarify, I mean the area where you see the battery strength, network name, sign...

Is there a way to set the numlock on BlackBerry programmatically?

Is there a way to switch on and switch off the num lock (alt + aA) keys programmatically in BlackBerry. There is a method setMode() in KeyPad class would that help? ...

blackberry - using sessions?

hi all I am very new to this Blackberry application. How can we use sessions in this application? When moving from login page to another one; how can I use sessions to get the user name in the next page also? ...

Blackberry buffered playback demo??

Can someone help me to buffer a mp3 file on a server using the Blackberry buffered pllayback demo app provided with the jde? I hav loaded it in the simulator. And my mds is started but I m unable to play the audio. There is no error but it doesnt play/load. The code looks all fine. Thanks ...

BlackBerry: creating a dynamic no. of buttons based on the contents of a vector

Hi, based on the contents of a vector(IDs), i'm trying to create the corresponding no. of buttons but I'm having problems doing that. I was wondering if anyone could help? Below is the code that i'm using to try to get that done... ButtonField[] btn = new ButtonField[list.IDs.size()]; for(int i=0; i<list.IDs.size(); i++){ btn[i].s...

Can blackberry App World apps run in the background?

I roughly remember blackberry apps being able to run in the background and add itself to a list of startup programs and even add in hooks for various OS events (network event etc) and have a background thread handle these events. Question 1) Is this true? 2) Are these kind of apps allowed in the app world or only available through ente...

BlackBerry Development: BlackBerry Desktop Manager Unloading On Mac

Our program requires access to the BlackBerry via USB. We're working on a Mac version and are currently having problems unloading the Mac Blackberry Desktop Manager on Snow Leopard. Specifically when we unload RIMBBUSB.kext, it seems to start right back up. ...

Eclipse: Blackberry simulator output console is not showing any entry

Suddenly the console is showing no output while I run my programs on the simulator(even when on debug mode). The console remains all empty while I start the simulator and run the programs. How to fix it? Thanks ...

Super constructor call in Blackberry Screen classes.

Why is the super() constructor recommended to be called when extending any of the RIM Screen classes? It was my understanding that the no-arg constructor of any super class was implicitly called from any class that extends it, am I wrong? ...

Missing java.util.HashMap

Hey everyone, Is there any reason that I would be missing the java.util.HashMap package? I have java.util.Hashtable, but no HashMap... I have the most up to date JDK and JRE... Thanks! ...

What is the best GUI library for blackberry java development?

What do you think is the most comprehensive and stable GUI library for Blackberry java development? I am currently using J4ME, anyone has any other experiences? A good GUI library should also have support for like grid controls, etc. ...

Blackberry - Get current application's ApplicationDescriptor object

Hi, I'd like to get access to my currently running applications applicationDescriptor object. I want this so that I can get the current version number and, on the initial screen have a title like "MyApp Version x.x.x" where I get x.x.x from the ApplicationDescriptor.getVersion() One way that I've found is to use: ApplicationManager m...

Render SVG stored in memory using JSR-226 (Blackberry)

I have code that generates a data-driven SVG graph and I'd like to display the graph directly. The method: javax.microedition.m2g.ScalableImage.createImage can take either a URI or an InputStream as the source data for the graph, what would be a good way to pass my graph data in? It's in String form in memory, so from what I can see ...

Get difference in two different timestamps in Blackberry application

Hi All, I would like to know how to calculate difference between two different timezones / timestamps in Blackberry application. For e.g. Calculate difference in server timestamp and client timestamp Please help. Thanks. ...

BlackBerry - How to set icon for Application?

I need to set up an icon for my application which must change when the focus is on that particular application? Ideas/Suggestions? Thanks ...

Problem updating Eclipse Ganymede

Hi, I am predominately a .NET developer so forgive me if I am missing something obvious. I use Eclipse Ganymede (3.4.0) for Blackberry development. I have Blackberry JDE Plugin 4.3.0.8 installed and would like to install 4.5.0. I try using Help -> Software Updates to get it but get the following error: "Cannot launch the Update UI. ...

Blackberry - How to do text wrapping in ListField with Checkboxes?

Hi all, I m creating a ListField with Checkboxes from How To - Create a ListField with check boxes But I m not getting how to wrap Text in a row in that ListField. I referred the thread Text Wrapping for text in List Field items Here its written as If all you are displaying is text, then I would go with the approach suggested by...

Lightweight Relational database for BlackBerry OS 4.7

Hey guys, I'm writing an app for BlackBerry OS 4.7 and would greatly benefit from having a lightweight relational database such as SQLite that my application can use to store data locally on the device. SQLite is coming out with 5.0, which is still in beta. Can anyone recommend any other alternatives that permit commercial use? Additi...

Using HttpCore from a blackberry

I am trying to port an android app to run on a blackberry 8800. One of the classes makes http requests through apache HttpCore. I get the following error: The type java.lang.reflect.Type cannot be resolved. It is indirectly referenced from required .class files ProjectFoo-BBerry/src/com/projectfoo/ws/rest/ProjectFooClient.java (line 1...

Programatically add a wifi network on the BlackBerry

Hi, As opposed to manually setting up a Wifi network(scanning>adding>set encryption settings, etc) I'm trying to create an app that once the user enters his login credentials will automatically add the wifi network complete with the necessary network settings. Maybe i've been searching using the wrong keywords but I havent stumbled upon...