blackberry

Removal of SQLite Database when Application is un-installed.

I'm creating an app that uses SQLite as a data storage on BlackBerry OS 5.0. When it is removed from a device, I'd like to be diligent and remove the database from the phone. Although I can seem to find out plenty of information on Persistant Storage being removed on the removal of an app, I can't find anything about an SQLite database....

Blackberry push integration

I have been asked to investigate BB push and from what I can tell unless the user base is on BB OS 5.0 and above we are going to have to use Web signals. Our use base is fragmented with 50% being 4.6 and below and the other 50% on 5.0. Our production infrastructure doesn't use BES and I don't want to, I also prefer to stay away from a po...

Blackberry signature tool - invalid private key

Hi, A couple of months after installing successfully the blackberry signature key for signing my application,I have lost my private key. How can I retrieve it? I have already sent an email to Blackberry developers support,but they're really slow in replying. thanks a lot ...

Unable to align fields in black berry development

I am having some challenges aligning fields. I have tried using custom layout managers and just am not having a consistent layout where fields are aligned properly. I have written the following layout manager and even though it aligns items in left column properly, it fails on right column. /* * GridFieldManager.java * * © <your ...

blackberry layout change height of field

I have a custom field I have created that loads images from a url. What I would like to do is have the field take up no space and then when the image is loaded resize itself to the size of the image. I have almost everything done but I can't work out a way to get the layout to be re done after the image is loaded. It works if I specify t...

What is the smallest audio file format?

I know this is not a specific programming question but I hope someone can give me a suggestion. My applications (iPhone and Blackberry applications) use a lot of audio files. I need a solution for my applications in order to save some spaces. Is it right that .aac is the most suitable audio format for iPhone? Is it the smallest one? It...

Blackberry: BrowserField2 API scrolling issue on OS 5.0

I have strange issue with browseField2 API on device 9700 (BB OS 5.0). Browser field is displays blank white space exactly of screen height after rendering HTML content of the browser field. I have added browser field on VerticalFieldManager and this manager also has other controls on it. I also tried with directly adding browse field...

Can we run sample-app that comes with BB Push SDK without app.id?

I am trying to deploy the sample-app war file that comes with PushSDK.But was not able to deploy the application successfully.Steps followed till now 1) I was able to configure PushSDK.properties log4j.xmlbut didn't change value of ${sampleapp.appid} in sample-app-context.xml. 2)then made the war file using cmd 3) Deployed on the ser...

Can I use Bluetooth on Blackberries to create local multiplayer?

I'm developing a game for Blackberry, and I've been tasked with developing multiplayer for it. I've been trying to do research and find out how to implement bluetooth on Blackberries and I want to know if it's feasible to implement on a turn based game. Also, if anyone could give me some resources or tutorials to being with, that would b...

How to crop a .png EncodedImage in BlackBerry while preserving transparency

I have a single .png image with several icons on it (with transparent areas) and would like to crop individual icons from it. In Java ME it was rather straight-forward, but in BlackBerry I haven't found an equivalent. The code here shows an example with a Bitmap, however doing so paints the transparent areas with white color: public Bit...

BlackBerry: Detect Headset Button in v 4.5?

Does anyone know how to detect the headset button click in 4.5? I have an older BB I am trying to interface with a simple device and would like to use the headset jack. In version 5.0 there is a "MediaKeyListener" class that seems to fit the bill, unfortunately my actual BB only runs 4.5 (it is a BB 8700c). I implemented a simple KeyL...

Is there an IDE for java programming on a blackberry?

How can I do my java programming on a Blackberry? I am not looking for Blackberry app development. I am looking for a way to work on a java webapp project while not at my PC. Ideally, I would like to be able to connect to a server on my desktop, download some Java code from an existing project... edit it, and send it back to the server t...

How to insert trademark symbol in LabelField on Blackberry

I'm trying to figure out how to add a trademark symbol on a LabelField in Blackberry API v5.0. Can anyone please help me? Thx in advance. ...

BlackBerry: Duplicate application menu items in UiApplication

I have a BlackBerry UiApplication, which registers some menu items in the standard Phone and Contacts applications. I need the menu items to be registered on phone startup, ie, before my UiApplication is started. I can achieve this if I configure my UiApplication to auto-run on startup, and register the menu items in my app initialisati...

How do I use the persistent object store in Blackberry?

I want to create a simple CRUD application to test out the data handling capabilities of the Blackberry. How do I create a simple save function? ...

Is there an existing online emulator for Blackberry browser ?

I'm triying to find a good emulator for the Blackberry browser, so I can try my blackberry app. Is there an online version so I don't have to download and install one ? Or in worse case scenario, which one should I download ? Thanks, ...

Is it possible to add donate button in mobile application (iOS,BB,Android)?

Some guys gave me the idea to add donate button in mobile apps instead of adding ads. I search in google, but i couldn't find useful information. It seems that this is impossible for iPhone. There isn't information for BB and i found one discussion for Android. Do you have experience with such implementation? Is it possible? I have a...

what is guid for call interrupt in eventOccurred method-Blackberry?

I am having trouble in performing some activity when a call interrupt comes on blackberry 9105. Is there any way to know what is the guid when a call interrupt comes in. I can't find it in the blackberry docs. public void eventOccurred( long guid, int data0, int data1, Object object0, Object object1) ...

How to parse XML from within a mobile?

I've looked into XOM but it seems that it doesn't work on mobile phones (blackberry). How can I parse XML to get information out of it using Java on the Blackberry? ...

How can I declare an XML string in my Java application?

I'm using kXML in my Blackberry application using Java. I want to create a string that has the xml information I need for testing purposes. Any guidance? For example: String theXML = @" <xml> </xml>"; ...