Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

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
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZjavaQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX