05-31-2013 02:36 PM
When I am working with my Application, I found that my application is not working with 9930 Bold.
Please check the image for it. Let me know, how can I resolve this issue which is device specific.
Solved! Go to Solution.
06-01-2013 03:13 AM
Zeenaveen, I am developing a simple Application which is working with all devices and simulators but when I was trying to launch the Application in 9930 Bold, then the screen orientation has been changed and treating as it has been launched in landscape mode.
I am using Display.getWidth() and Display.getHeight() for calculating screen width and height respectively. Also, I have declared application to launch in Portrait mode only.
Please let me know, if you have any solution.
06-01-2013 04:50 AM
These kind of device having only one ladscape mode. you can also check the device mode by following mehtod:
Display.getOrientation() == Display.ORIENTATION_LANDSCAPE
Then made a neccesary change according to landscape
06-01-2013 07:55 AM
I woud look at using code like the following rather than the code you are using:
// Lock 'portrait' mode
int directions = net.rim.device.api.system.Display.DIRECTION_NORTH;
So devices with keyboards will lock into 'Landscape' mode, which is how you want to use them.