Categories: Java | Java ME | How To | Code Examples | UI
This page was last modified 08:34, 25 September 2007.
How to get the screensize of a mobile in Java ME
From Forum Nokia Wiki
In Java ME the screen size of a mobile or the area available for drawing can be found out using the following code
javax.microedition.lcdui.Canvas
int width = canvas.getWidth(); int height = canvas.getHeight();
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calendar | deepika.mangla | Mobile Java General | 2 | 2006-12-15 19:41 |
| java-bluetooth-application | doggett78 | Bluetooth Technology | 1 | 2003-05-27 12:53 |
| Smartphone recommendation for my requirements??? | callagga | Mobile Java General | 9 | 2007-08-23 06:37 |
| Personal Java and J2ME | zivgr | PersonalJava | 1 | 2003-05-26 15:39 |
| application to start when mobile is switched on | paddy.ir | Mobile Java General | 2 | 2007-06-07 19:32 |
