Forums Register Login
Dyanmic Screen Resolution in J2ME
Hello Everyone!!! I am having tough times solving query on Dynamic Screen Resolution in J2ME. How can you create an application in J2ME that automatically adjusts to the screen resolution to the phone it is being installed. That means if the resolution is small the layout automatically adjusts to the screen resolution and if its bigger then accordingly... Please help....
You can get the screen width and height from any implementation of javax.microedition.lcdui.Displayable.
getWidth() , getHeight()

Use this values to re-size images and other resources as nessary
It is also the case that Nokia has proprietary application extensions that allow applications to be scaled up on Nokia phones.

See: How to Change Java Game Resolution

This thread has been viewed 1669 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 18, 2018 07:30:18.