06-21-2010 07:10 AM
I've been experiencing a problem with Coordinates when developing for OS 4.6.
Whenever I instantiate a Coordinates objects like below:
Coordinates c = new Coordinates(0.0d, 0.0d, 0.0f);
The application does not load into a 8520 simulator with OS 4.6. But when I try to load it in a simulator with OS 5.0 it loads.
Is there an issue with Coordinates and OS 4.6. How do we instantiate a Coordinates object manually?
Note: I can get a QualifiedCoordinates object when using getQualifiedCoordinates() of Location class but I want to instantiate the Coordinates manually especially when getQualifiedCoordinates() returns null.
Solved! Go to Solution.
06-21-2010 10:22 PM
But what if we want to support devices with OS 4.6 and above with only one build? We'd also want to support touch screen devices with that same build.
It is only with the Coordinates class that I am having a problem. I've been compiling using 5.0 and running the app on 4.6 and it has been working fine until I started using the Coordinates class. Is this an issue with the OS?Would you know if there are any workaround for this issue?
Note: If I try to compile using 4.6, the UI for the touch screen devices does not display as it should be when running on the simulators. Should the app run correctly on a touch screen device, say Storm 9550, when it is compiled in 4.6?
06-23-2010 03:37 PM
Please refer to the following:
Appropriate version of the BlackBerry JDE
Compatibility Mode with the BlackBerry Storm Smartphone