blackberry

Strange behaviour: Java Comparator randomizes list entries.

I'm curious. What could be the reason that a Comparator shuffles entries on each application start? final static class ContactsListComparator implements Comparator { public int compare(Object o1, Object o2) { if((o1.toString().compareTo(o2.toString()))<0) { return -1; } if((o1.toString().compareT...

How to navigate back to the previous screen in Blackberry?

Hi, In Blackberry I can navigate from one screen to the next screen, but I can't navigate back to the previous screen. Pressing the escape key in the emulator terminates the entire application. Is there any other key in the emulator to go to the previous screen or any code to navigate back? If you know please help me. ...

How to send String value from one screen to another in Blackberry?

Hi, Anyone please help me to pass String value from one screen to another screen in Blackberry ...

Blackberry Eclipse Plugin - cannot generate cod file or see BB properties

Hi I am using the BB eclipse plugin to create a BlackBerry app. I made some changes to my app but they were not reflected in the simulator. So I ran clean.bat and rebuilt the project. But now the project's cod file is not getting generated. And if I try and view the BlackBerry project properties for the Project, I get an error saying t...

tunnel failed in blackberry bold. why?

Hi, I created a j2me program and ported it to the blackberry bold. The program does some http queries. Every now and then these fail with the exception: 'tunnel failed' My APN settings are correct (since sometimes it does work). I connect with ';deviceside=true' appended to the url I notice that when the browser has just been active...

How to get the Date and time value from DateField in Blackberry Programming?

Hi, I am using DateField to display the Date and Time in my Blackberry Program,if the user changes the date it should be updated in the database.But the DateField component returns as a long value, i cannot do anything with this long value.If anyone knows how to get the Date and Time value as String please help me. ...

Blackberry - How to implement ListField Smooth Scrolling?

Overview I'm using a listfield class to display a set of information vertically. Each row of that listfield takes up 2/5th's of the screen height. As such, when scrolling to the next item (especially when displaying an item partially obscured by the constraints of the screen height), the whole scroll/focus action is very jumpy. I would...

Blackberry - How to add border to BasicEditField?

Hi, I used BasicEditField in my Blackberry program,the BasicEditField doesnot display any border.So i want to customize the BasicEditField to display with border.please give some code snippets. ...

Updating a BlackBerry application installed on a user's device.

In a situation where a BlackBerry application is installed to a user's device via OTA (BIS), and that application has a "Check for updates" button, one simple approach would be to launch the browser with the address of the .jad file which would then present the user with the "You have version 1.0 installed, would you like to download and...

How to set a ScrollBar to the VerticalFieldManager in Blackberry?

Hi, I am using this code to set the scrollBar to the VerticalFieldManager in Blackberry VerticalFieldManager temp2=new VerticalFieldManager(VerticalFieldManager.VERTICAL_SCROLL); LabelField result=new LabelField("Result \n Result\n Result\n Result \n Result\n"); temp2.add(result); The labelField is added and the contents are d...

Are there any RIM Blackberry clients for Jira?

I want to access Jira through my Blackberry, but I'm not very interested in accessing web client through Blackberry browser. Are there any native solutions? ...

Blackberry MDS Simulator not launching

Hi, I have a problem with MDS-CS simulator coming with JDE 4.5.0 installation. I have to establish network connectivity and I need to run MDS for that. Whenever I launch MDS simulator, a window appears and exits immediately. How do I resolve this problem? I searched on internet for this issue and most answers were related to path envi...

Programmatically call default media player in Blackberry?

Like I said, the application has to call the default Blackberry media player.Does anybody know or maybe point in a direction to implement it Enviroment : Eclipse+BB plugin 4.5 ...

Multiple Projects with Eclipse

I have workspace inside of Eclipse which has 2 projects in it. I want to reference project #2 from project #1, but when I go to Project -> Properties -> References, and tick the project that I want to add as a reference, I am still not able to instantiate the classes from project #2 inside of project #1. This is a blackberry app, devel...

Blackberry - single line BasicEditField with large text

Hi to All, I have created a customized BasicEditField with Border using Bitmap.Now while typing the text,it crosses the border of the BasicEditField.This is my code class customEditField1 extends EditField { Bitmap mBorder = null; customEditField1(Bitmap borderBitmap) { mBorder = borderBitmap; } protected void paint(Graphic...

persistent storage in blackberry

how we can fetch images from persistent storage of blackberry? ...

Error Preverifying Class - Java / Eclipse / Blackberry

I have two projects in the same workspace using a single workspace with Eclipse. Project1 - References Project #2 and also contains the "Java Build Path" for Project 2 Project2 - doesn't reference anything Project1 package is called Project1 Project2 pacakge is called Proejct2 I import Projec2 into Project1 using: import Project2.Cl...

Blackberry bluetooth pairing to undiscoverable device

Is there anything in the blackberry api or in j2me which would allow communications and/or pairing to a bluetooth device using the MAC address? (Assuming the device is not-discoverable) ...

Optimizing for a smaller .cod (.jar) file

The RIM compiler performs extra optimization and compression on the resulting ".jar" while building the final .cod file, but there are things that can be done by the developer to significantly reduce the final .cod file size. One such thing would be to run PNGCrush, OptiPNG, or a similar tool to reduce the size of the included .png fil...

BlackBery - List with checkbox along with search criteria

Hi, I am trying to display a list of data with checkboxes, where user can select multiple items at one time... I want a search field on top of the list which will search through the list... How do I do it? ...