Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User negito's Avatar
    Join Date
    Nov 2011
    Posts
    8
    How to keep the app running after the red key is pressed in javame? Thanks

  2. #2
    Registered User prssupe's Avatar
    Join Date
    Dec 2009
    Posts
    376
    It depends on the phone model (and its operating system), whether MIDlet in the background can continue executing. What phone models did you have in mind for your application?

    for series 40 it is not possible to run it in background
    in case of series 60 just use Display.setCurrent(null)
    to place in background...

  3. #3
    Registered User negito's Avatar
    Join Date
    Nov 2011
    Posts
    8
    Thank you. What I want is when the red button( the END button ) is pressed, the app will not close. My os is S60^5 or S60^3. Is it possible?

  4. #4
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    Hello negito,

    and welcome to Nokia Developer Discussion Boards!

    This can be achieved by using the following JAD attribute and value in the JAD file:

    Nokia-MIDlet-No-Exit: true

    It is supported since S60 3rd Edition, Feature Pack 2 devices.

    More information:

    Java Developer's Library 3.11 > Developer's guides > Application framework > JAD and JAR manifest attributes
    http://library.developer.nokia.com/i...E4A538FB8.html

    Regards,
    r2j7

  5. #5
    Registered User negito's Avatar
    Join Date
    Nov 2011
    Posts
    8
    Sorry for responsing so late. And thank you, r2j7. I tried. It works. Thanks again.

Similar Threads

  1. 5800 freezes after a period of time running javame
    By rooster13 in forum Mobile Java General
    Replies: 2
    Last Post: 2010-04-04, 10:42
  2. running a symbian c++ exe from javame .jar file
    By sumeet_netsmartz in forum Mobile Java General
    Replies: 7
    Last Post: 2009-08-21, 13:21
  3. JavaME api
    By apim in forum Russian Developer Forum - Форум Российских разработчиков
    Replies: 10
    Last Post: 2008-09-29, 16:58
  4. I am new to JAVAME Plz help me
    By pakkami22 in forum Mobile Java General
    Replies: 4
    Last Post: 2008-08-04, 11:54
  5. Application is closed when a key is pressed or screen saver is running
    By lss0986 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-04-12, 07:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved