| Author |
Dyanmic Screen Resolution in J2ME
|
murtaza amravatiwala
Greenhorn
Joined: Jun 10, 2011
Posts: 1
|
|
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....
|
 |
Srinath Gamage
Ranch Hand
Joined: Jun 19, 2008
Posts: 40
|
|
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
|
SCJP & SCMAD
http://srinathbugz.blogspot.com/
|
 |
Walter Gabrielsen Iii
Ranch Hand
Joined: Apr 09, 2011
Posts: 158
|
|
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
|
 |
 |
|
|
subject: Dyanmic Screen Resolution in J2ME
|
|
|