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 03:42, 23 June 2007.

How to handle MIDlet sent to the background

From Forum Nokia Wiki

On some devices the Application Management System (AMS) calls PauseApp for example when the phone gets a phone call, the MIDlet is sent to the background for some other reason, or when the flip/slide of the phone is closed.

The pauseApp() method is not called on Nokia developer platforms. Instead the hideNotify() method in Canvas class is called when MIDlet is sent to the background. If the MIDlet does not use Canvas, but high-level UI screens, the MIDlet should periodically check isShown() method (belongs to Displayable class) whether or not the MIDlet has been sent to the background. Of course, this is needed only if the MIDlet especially needs to know when it is on the foreground and when it is on the background.

Related Discussions
Thread Thread Starter Forum Replies Last Post
j2me game nokia3650 trupt_es Mobile Java General 0 2004-09-02 13:15
how to disconnect on 7650 gerodol Mobile Java Networking & Messaging & Security 1 2003-05-30 14:33
MIME Registering for a midlet ibraheemJazba General Symbian C++ 0 2006-10-03 16:36
how to get the camera handle... s60sdk Graphics & Video & Streaming 0 2007-03-22 11:54
Background Music davidhamburger Mobile Java Media (Graphics & Sounds) 1 2003-06-20 09:18
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZjavaQ
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX