05-28-2012 07:22 AM
Hi ,
Can any Suggestion for Calculations of Display Widths and height i want to create this for all devices.
05-28-2012 07:52 AM
In my opinion, you should not try to fix a width and height for all devices.
The size of your buttons will differs by device. On non touchscreen that don't need to be so large as you don't have to hit them with a pinky. Also on higher resolution screens you will need more pixels.
So factor in the actual resolution of the device, the size of the screen and calculate the button size and so the screen size based on that.
You might like to mock this up on the smallest screens, for example the curve (non touchscreen) and 9800 devices and see how it looks/fits first. My immediately reaction to your screen design is that
a) It is not very BlackBerry like, and
b) Won't work on small screen devices
So convince yourself that you really can do this on the smaller devices and then try to figure out how to do it dynamically on device.
Just my opinion. Good luck.
05-28-2012 08:07 AM
05-28-2012 08:10 AM - edited 05-28-2012 08:11 AM
That is a different question to the Subject isn't it?
You will need to create your own custom layout Manager.
Here is the docuemtnation that will help you do this:
http://supportforums.blackberry.com/t5/Java-Develo