Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
This page was last modified 09:03, 24 August 2007.

TSJ000637 - Changing the Canvas to full-screen mode on S60 devices

From Forum Nokia Wiki


Subject:

Changing the Canvas to full-screen mode on S60 devices

TSJ000637

 

Platform(s):  Device(s), SW version(s):
S60 2nd Edition and FP1, FP2, FP3
S60 3rd Edition and FP1
 

Category:

Java

Subcategory:

MIDP1.0/2.0

Description:

Canvas contains a method to set the Canvas to be shown in full-screen mode. The method call is <canvas object name>.setFullScreenMode(true).
On S60 phones the setFullScreenMode(true) does not set the screen to full screen immediately. If the MIDlet calls getGraphics() right after calling the setFullScreenMode() method, it will have the wrong height. Similarly an incorrect height will be returned if the getHeight() method is called immediately after setting the Canvas to full screen.
One possible solution is to call the setFullScreenMode() method, start a new thread from the showNotify() method, and then in the run() method call getGraphics() or getHeight() and start the application.

Creation date:

May 10, 2007

Last modified:

-
Related Discussions
Thread Thread Starter Forum Replies Last Post
Problem with GameCanvas? yintchii Mobile Java General 6 2003-12-16 13:57
6680 Issue! senthil_india Mobile Java General 10 2006-07-18 17:56
My soft Keys of Nokia 6600 are not working for my application ummarbhutta Mobile Java General 6 2006-03-27 22:16
Ped - in-phone programmers editor y.a.k Python 239 2008-08-25 15:29
Un Explainable NullPointerException rooossone Mobile Java Games 5 2008-09-23 11:28
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZTechnicalSolutionQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX