Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2008

    MIDP application: prevent undesired exit (UI question)

    Dear all,

    I'm having a MIDP application on Nokia N95. However when the app is running I don't want it to be terminated by accidentally pushing the red button (the one for hanging up the phone).
    Does anyone know a mechanism to prevent this to happen?


  2. #2
    Super Contributor
    Join Date
    Mar 2008
    The Capital of INDIA

    Thumbs up Re: MIDP application: prevent undesired exit (UI question)

    you can check on Nokia Developer's Library, you can use the "Nokia-MIDlet-No-Exit" attribute on S60 3rd Edition FP2 phones for the same. Setting it to "true", the midlet will be put in background instead of being closed.....

    About directly catching the Exit key, you cannot achieve this in a Java ME application.

    please go through..

    I hope that these lines can help you..
    Thanks with Regards,

    R a j - The K e r n e l

    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. Gallery Application: Issue and Question
    By ARJWright in forum Mobile Web Server
    Replies: 4
    Last Post: 2008-08-18, 18:52
  2. Advice For J2ME Application and Question
    By localarea in forum Mobile Java General
    Replies: 2
    Last Post: 2008-06-30, 01:36
  3. Replies: 1
    Last Post: 2008-05-08, 12:32
  4. N70 Reset bug
    By sebboB in forum General Development Questions
    Replies: 2
    Last Post: 2005-12-28, 23:09
  5. UNDESIRED Exit command key.
    By tektronic in forum Mobile Java General
    Replies: 4
    Last Post: 2005-05-13, 18:27

Posting Permissions

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