blackberry

Best way to transfer data on BlackBerry

I am making a voice note recording application and it should send voice notes from the BlackBerry to a server. What the best approach for doing the data transfer? ...

Image display problem on Blackberry device

I am downloading an image(png) from Network and trying to display it on the screen. I get the image to display properly on the blackberry simulator(4.5) , but when i download the same image on device its all messed up. Here is the code i am using: connection = (HttpConnection) Connector.open(url + getConnectionParameters()); conne...

Blackberry component libraries

Blackberry UI components look so poor after seeing the iPhone, Android and Windows Phone 7 platforms. Are there any third-party UI component libraries for BlackBerry? ...

Use m3u8 playlist with BlackBerry

Can I play a m3u8 file on a BlackBerry? I have a m3u8 file on my server and would like to stream it to my BlackBerry. ...

How to run an app on a BlackBerry device

I would like to run a simple hello-world app on a device. How do I do this? ...

Unable to play m.youtube.com video in BlackBerry simulator

When I try to play video from m.youtube.com I get an error: an error has occured attempting to play media. How do I solve this? ...

BlackBerry image buttons

I want to create six image buttons similar to those on the homescreen, such as settings, downloads, or messages. When I roll to the next button, the previous one must fade, just like the simulator. I am using the 9700 simulator and JDE 5.0.0. ...

Customize background image on BlackBerry field or manager

How do I draw a background image with round corners and a shadow on a BlackBerry? ...

Remove default items from custom context menu on BlackBerry

I want to create my own context menu. When a user clicks the BlackBerry menu button, the menu should open with only my menu items -- and not the 'Hide keyboard' and 'Switch Application' items that are included by default. ...

Parse XML string on BlackBerry

I am trying to parse XML with the following code, but StringReader is not available in the BlackBerry JDE. What is the right way to do this? DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); InputSource is = new InputSource(); ...

Reduce size of EditField

I am creating five EditFields with corresponding label fields. The EditFields use the full width of the screen but I need only want them to use a particular width. ...

Test a mobile website for Android or BlackBerry

How do I test a mobile website for Android or BlackBerry without having the actual device? ...

Install third-party BlackBerry app when my app is installed

I want to install the Google Maps app when installing my application. ...

send sms between two simulator in blackberry

I want to send SMS to multiple contacts. I wrote the code and it works fine, but I want to test between two simulators. I saw the solution in plenty of forums, including StackOverflow, but I am not able to make it work. ...

Blackberry browser back click

I am trying to go back back to the previous page after loading a browser but it takes three back clicks to do so. I tried overriding the back button click but it still takes three clicks. I used following code to load the browser: BrowserSession browserSession; browserSession = Browser.getDefaultSession(); try{ browserSession.displa...

Auto-complete list on BlackBerry

How do I create an autocomplete list on a BlackBerry that contains an icon, some text and a date, and when the user clicks on an item in the list, a popup appears. This should work for BlackBerry OS 4.1 to 5.0. ...

Blackberry: Google Maps API - Demo

I've read the SO posts indicating that it's possible but have had a hard time finding a working example. Can anyone provide me a link or example to source of Google maps working on OS 4.6 and later. Much appreciated, ...

Run code synchronously with a PopupScreen or Dialog on BlackBerry

I have a program that will get messages from a server and store them locally. If the message header, but not the message itself, exists locally, the program downloads the message while displaying a popup saying the download is taking place as well as a "cancel" button should the user want to abort the download. In the BlackBerry API, t...

Using sound on a website for iPhone, BlackBerry and Android

I am developing a website that will play sound files for all smartphone users -- BlackBerry, Android, and iPhone. I've already figured this out for the iPhone, but how do I do this for BlackBerry and Android? ...

Layout right-to-left in HorizontalFieldManager on BlackBerrry

How do I align elements right-to-left in a BlackBerry HorizontalFieldManager? ...