[Logo]
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
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss


This thread has been viewed 1611 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 19, 2018 15:21:16.