Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2006

    Question about calling pauseApp

    Good day,
    I have a question about the usage of pauseApp - is it possible to call it in an explicit way?
    I would like to pause my midlet (I am using nokia6280 - S40 3rd eddition device)



  2. #2
    Registered User
    Join Date
    Dec 2005

    Re: Question about calling pauseApp

    Hi Yair,

    I'm not sure what your issue is but you should use the method notifyPaused() of MIDlet class. Check the info below from the Javadocs:

    "Notifies the application management software that the MIDlet does not want to be active and has entered the Paused state. Invoking this method will have no effect if the MIDlet is destroyed, or if it has not yet been started.

    It may be invoked by the MIDlet when it is in the Active state.

    If a MIDlet calls notifyPaused(), in the future its startApp() method may be called make it active again, or its destroyApp() method may be called to request it to destroy itself.

    If the application pauses itself it will need to call resumeRequest to request to reenter the active state. "

    More on MIDlet lifecycle:

    Understanding J2ME Application Models


    Juarez Junior

  3. #3
    Super Contributor
    Join Date
    Mar 2003

    Re: Question about calling pauseApp

    On phones where a MIDlet can be sent to the background you can usually do it by calling Display.setCurrent(null). But on phones that are not multitasking this won't have any effect at all.


Similar Threads

  1. Using calling cards with Nokia 6600
    By steffi1 in forum General Development Questions
    Replies: 3
    Last Post: 2008-01-21, 03:49
  2. a question about command and a question about s60
    By t4kesting in forum Mobile Java General
    Replies: 0
    Last Post: 2006-01-24, 08:21
  3. Replies: 2
    Last Post: 2004-01-08, 18:36
  4. Sending data using iAcceptedSocket (Urgent question)
    By okegame in forum Bluetooth Technology
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts