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:41, 25 September 2007.

How to send MIDlet to background

From Forum Nokia Wiki


Following code can be used to send MIDlet to background:

Display display = Display.getDisplay(myMIDletClass);
display.setCurrent(null);

The setCurrent(null) doesn't set the displayable to null but is used in Java ME implementations that support concurrent applications like S60 to send the foreground application to background. The application that is shown is the last application that was shown before the MIDlet got activated. For example, if user launched the MIDlet from application shell just before then application shell is shown.

Related Discussions
Thread Thread Starter Forum Replies Last Post
J2ME: retrieving Cell id Giugio Symbian Networking & Messaging 9 2006-12-22 05:41
Automatically send / receive SMS from Midlet - possible? smueller Mobile Java Networking & Messaging & Security 4 2005-10-10 07:46
How to make midlet run in background ajit.ps1 Mobile Java Tools & SDKs 1 2008-02-15 15:29
Start an application minimized eleganceandchaos General Symbian C++ 3 2006-04-17 20:22
Background to Foreground Shortcut( 2 keys) priya83 Symbian User Interface 1 2006-10-02 09:39
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZjavaQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX