blackberry

Adding files during installation of Blackberry apps

Hi, I have a BlackBerry app that, when installed, needs to also copy over some files(.htm, css, images). How is this done? Is it some attributes that need to be defined in the .alx or .jad files? ...

Blackberry:How can I slide a bitmap image on my screen to show the next/other image? Some kind of animation?

I need to display some images. And I want to slide out one image from one slide of the screen so the the next image is displayed. Is it possible to have such an animation? thanks ...

How can I create a Custom Gauge Field which is better looking?

I need to create a custom gauge field which looks slimmer like a Blue thin line filling in. Any ideas/resources? ...

How to implement a searchable TreeField?

I got how to implement a TreeField. But how to implement a searchable TreeField? ...

Multiple buttons with same width equal to widest button

I have multiple ButtonFields in a VerticalFieldManager. By default the width of each button depends on the text it contains. I would like all the buttons to be of the same width - equal to the width of the widest button. ...

Expecting End of File Exception in parsing xml data for Blackberry application

Hi All, I am getting parser exception as "Expecting End of File" while parsing xml data for Blackberry application? How do I fix it? ...

Blackberry - getLocation() method cannot be called from event thread

I want to get the longitude and latitude of device. I used location api to get the longtitude and latitude the problem now i am facing is i could not able to call the getLocation() method inside button click event.It is throwing error as getLocation() method cannot called from event thread.Can any one tell me how to solve this problem. ...

How does AlertListener work on Blackberry API 5.0?

Hello Does the AlertListener interface works globally on all alerts on the blackberry device, or does it only work with alerts generated by your application? In other words, can I use this interface to listen when the phone generates any alert (ie. SMS, Email, Blackberry Messenger, third party app alerts, etc.)? Let me know, Regards ...

Architecting BlackBerry CRM / SFA applications

Hi, I am in process to start developing a Blackberry application (Proof Of Concept) on the lines of SalesForce and SalesNow CRM. I am a web developer with skills on LAMP technologies with a limited knowledge in JAVA /J2ME / BB Native libraries. Have gone through all the examples / samples on RIM / STACKOVERFLOW websites. Expert advice n...

BlackBerry - Unpack Zip File

I'm developing a BlackBerry application in which I need to unpack a zip file compressed with PKZIP. The package could have one file in it, or it could have 10; it will vary in each case. I know that the BlackBerry API has native support for GZip and Zlib, although I'm pretty sure that these methods aren't going to be helpful in my case...

Blackberry - how to animate Custom Field?

I have created a custom field class "Seek" to draw a fillrectangle. class Seek extends Field { int fill; protected void layout(int width, int height) { setExtent(320, 5); } protected void paint(Graphics graphics) { graphics.setColor(Color.RED); graphics.fillRect(0, 0, fill, 5); } protected void set...

Blackberry - set position of field on the screen?

I want to position my field at specified positions. ...

How to handle Focuschangelistener in blackberry for this situation?

I am having three EditField i have a set focuslistener for the second editfield alone. when the focus is lost i am checking whether the field is empty or not if the field is empty it will show the popup message .Now the problem is once the user came to that field he could not move to other fields without entering any fields but i want us...

How can I make mobile version of an existing web site?

hi, We have a website coded with jsp-Java. Now, we want to show our website more user friendly on blackberry etc. Is there any tool or method to do this issue more easier? thanks for your answers. ...

Blackberry - how to define screen title height?

Hi, is there a possibility to define somehow title's height? The main problem is a separator that is located under the actual title. So, possibly there is possibility to define somehow the separator's height. API 4.5 Thanks ...

Blackberry 9000 getting HTTP error 406 When using WiFi.

So, I have a Blackberry 9000 application doing simple networking using HttpConnection. Everything works fine normally, when I go to urls of the form: http://url.com But I've discovered that I need to test this in wifi only situations (that is, without a BES or equivalent in sight). After some digging, I discovered that I need to add: ...

A splash screen which doesnot just disappear but fades in/out.

I have a splash screen which appears for a few seconds before the application home screen is loaded. And then the home screen is pushed in. But I need to fade out the splash screen before the home screen appears. Any idea how to do that?? ...

Blackberry - how to resize image?

I wanted to know if we can resize an image. Suppose if we want to draw an image of 200x200 actual size with a size of 100 x 100 size on our blackberry screen. Thanks ...

Is MainScreen compulsory in BlackBerry applications?

Currently I've got 2 screens utilizing almost the same functionality and I'd rather extract common logic into some base class but the extend different RIM UI clases: MainScreen and FullScreen. Due to there's no multiple inheritance in java I cant figure out how to do this unless they both extend FullScreen. So the question stated in titl...

BlackBerry application unistallation problem?

Hi, In my balckberry application i am using the Persistance,List and Threads to execute the code. The code is given below: enter code here UiApplication.getUiApplication().invokeLater(new Runnable(){ public void run(){ CategoryListScreen.getInstance( UiApplication.getUiAp...