rim-4.7

development with Blackberry JDE4.7?

RIM has released a new Blackberry JDE4.7 after releasing the Blackberry Storm. Does the Blackberry storm support programs created using the previous versions? I've heard there have been a lot of changes in this version compared to the old ones. And there have been complaints about Storm having many bugs. Should I use 4.7 or keep using t...

Why does google.com look different on blackberry & phonegap vs. blackberry & browser

I'm tyring to get phonegap up and running on blackberry storm (9530 simulator). I had been testing my webapp from withing BB's built in browser, and it was looking ok, but then it totally bit once I tried to look at the some code from within phonegap, even though I was pointing phonegap to the same url (I hadn't yet gotten to the point ...

Blackberry storm touchEvents

Hi There, Ive ported an Blackberry 4.6.0 application over to the storm on 4.7.0. All is working fine apart from the touch events i'm trying to control. I trap touch events in the method below which does as its supposed to but the problem is after my logic in the touchEvent executes and return the Menu (thats activated via menu button) is...

blackberry JDE 4.7 - TouchEvent Class - difference between getX and getGlobalX

In the blackberry JDE 4.7, under the TouchEvent, there are two similar sounding methods: getX(int touch) "return mapped x coordinate" getGlobalX(int touch) "return global x coordindate" Does anyone know what the difference is between the two? The javadocs talk about mapped vs global but I'm not sure what that means. Any help poind...

problem in displaying BitmapFields in HorizontalFieldManager in a row in Blackberry Storm

I had created a HorizontalFieldManager & added BitmapFields in that. In Blackberry Storm, Display.getWidth() is 480. In that I want to use first 450 to add some BitmapFields at LHS of screen which I m creating at runtime & add 2 BitmapFields at start at RHS of Screen. 2 BimapFields which I want to show at start r added in Constructo...

How to set Anti Aliasing in Blackberry Storm?

I m drawing in a bitmap like.. bitmap[i] = new Bitmap(60, 60); Graphics g = new Graphics(bitmap[i]); g.setColor(Color.BLACK); g.drawLine(....); Now how to set Anti-Aliasing on before g.drawLine()? ...

How to handle ButtonField & BitmapField Click (Touch) events in Blackberry Storm?

I have created a ButtonField & a BitmapField like.. public class MyCanvas extends MainScreen implements FieldChangeListener { HorizontalFieldManager hfm; private Bitmap startBitmap; private BitmapField startBitmapField; private ButtonField okButton; MyCanvas() { hfm = new HorizontalFIeldManager(); st...

How to save & delete a Bitmap image in Blackberry Storm?

I have a ready Bitmap image. Now I want to save & delete it. I m doing it like.. FileConnection fconn = (FileConnection)Connector.open("file:///store/home/user/StoredBitmap/"+picIndex+".bmp",Connector.READ_WRITE); if(!fconn.exists()) fconn.create(); OutputStream out = fconn.openOutputStream(); if(im...

BlackBerry Storm AccelerometerListener not being notified on first orientation change

This seems to be a well-known issue right now, but the accepted workaround doesn't seem to be working for us. On the BlackBerry Storm (JDE 4.7, standard set of 4.7+ simulators), the following bit of code registers an AccelerometerListener. The listener does not get called on the first change in device orientation, but does get called on...

Blackberry storm 9530 tracing touch events while scrolling

hey in my screen there is a an edit field and 2 custom button fields as "OK" and "CANCEL" Below buttonfield there are some more focussable label fields when i write a name in edit field and press enter then focus comes to "OK" button but how to set focus on "CANCEL" button. Moreover while scrolling the focus does not automatically mov...

Blackberry storm - update layout on tilt

Hi, have developed an app for BB storm while tilting the device the background image of the app screen does not matches with the screen size, i have tried with the sublayout method public void sublayout(int width, int height) { //update scrren layout based on orientation if(Display.getOrientation()== Display.ORIENTATION_LANDSC...