Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Registered User schmida1980's Avatar
    Join Date
    Jun 2006
    Posts
    2
    Hi folks,

    can you please help me with some questions on J2ME applications.

    1. Is there a possibility to run a J2ME application on a S60 device in the background?

    2. If so how can it be switched to the foreground again?

    3. Is it possible to automatically run the application on startup?

    Thank you in advance!

  2. #2
    Super Contributor wang_shui's Avatar
    Join Date
    Mar 2006
    Posts
    516
    Hi,

    This is discussed here.Please look into juarze's reply

    http://discussion.forum.nokia.com/fo...ad.php?t=80261

    Wang

  3. #3
    Registered User schmida1980's Avatar
    Join Date
    Jun 2006
    Posts
    2
    Thank you very much for your help Wang!

    The topic discussed in this thread is not what I am looking for. It doesn't help me to set my application to sleep and awake it on a push event.

    I am searching for a mechanism to make my application run in the background. The application shall run all the time, but the user should be able to interact with his mobile device without noticing the application is running at all. From time to time the application shall notify the user about certain results of the processing and disapear again afterwards.

    Does anybody know how to achieve this?

    Furthermore I want to register the application to run on sartup of the mobile device. How does this work?

  4. #4
    Registered User juarezjunior's Avatar
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,883
    Hi schmida1980,

    3. Is it possible to automatically run the application on startup?
    AFAIK this is planned for future Series 40 devices, there's a JavaOne 2006 presentation briefing on that.

    BR,

    Juarez Junior

  5. #5
    Registered User nakummitul's Avatar
    Join Date
    Jul 2007
    Posts
    15
    but there is no answer of 2nd question

    2. If so how can it be switched to the foreground again?

    is it possible of not?
    ------------
    Mitul Nakum

  6. #6
    Registered User shankar_vn's Avatar
    Join Date
    Oct 2009
    Posts
    26
    Hi,

    I am also looking for similar background app in j2me.
    1. Possibility to run a J2ME application in the background?
    2. Can we run the application on startup?

    Have you found any solution?
    Could you please share your experiences with me?
    Shankar V N

  7. #7
    Regular Contributor gaurav007's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    208
    Quote Originally Posted by shankar_vn View Post
    Hi,

    I am also looking for similar background app in j2me.
    1. Possibility to run a J2ME application in the background?
    2. Can we run the application on startup?

    Have you found any solution?
    Could you please share your experiences with me?
    Some recent phones of S40 may support J2ME background running app but not all phones. You can try creating such application using Symbian platform.

  8. #8
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    Quote Originally Posted by shankar_vn View Post
    Hi,

    I am also looking for similar background app in j2me.
    1. Possibility to run a J2ME application in the background?
    2. Can we run the application on startup?

    Have you found any solution?
    Could you please share your experiences with me?

    1.Possibility to run a J2ME application in the background? --- Yes, you can run background app on all S60, recent S40 and recent Sony Erricson and other devices as well. You can try it by setting currentdisplayable to null and keep some threads runing in background on these devices. Or press the Menu key and start another app, pushing the old runing app to background.

    2. Can we run the application on startup? --- Yes, you can do by Jad Attribute - Midlet-auto-start: yes, on various platforms like on Nokia it becomes: Nokia-Midlet-Auto-Start: On, on SE devices JP7onwards you can try PushRegistry with ://autostart: etc.

    thanks,
    ~Amitabh

  9. #9
    Registered User huzefap's Avatar
    Join Date
    Jan 2009
    Posts
    4
    I used setCurrent(null) and it works on Nokia N79. i.e. the midlet hides. But when i use setCurrent(myCanvas) to again put the midlet in foreground it does'nt do any thing.
    So my question is How can we make midlet in the foreground again ?

  10. #10
    Registered User tuxette's Avatar
    Join Date
    Oct 2010
    Posts
    44
    Quote Originally Posted by im2amit View Post
    1.Possibility to run a J2ME application in the background? --- Yes, you can run background app on all S60, recent S40 and recent Sony Erricson and other devices as well. You can try it by setting currentdisplayable to null and keep some threads runing in background on these devices. Or press the Menu key and start another app, pushing the old runing app to background.

    2. Can we run the application on startup? --- Yes, you can do by Jad Attribute - Midlet-auto-start: yes, on various platforms like on Nokia it becomes: Nokia-Midlet-Auto-Start: On, on SE devices JP7onwards you can try PushRegistry with ://autostart: etc.

    thanks,
    ~Amitabh
    I couldn't make the midlet-auto-start nor the nokia-midlet-auto-start JAD attributes work in a Nokia 5230.

  11. #11
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Quote Originally Posted by tuxette View Post
    I couldn't make the midlet-auto-start nor the nokia-midlet-auto-start JAD attributes work in a Nokia 5230.
    Jad attribute Nokia-MIDlet-auto-start Works only on the S40 devices with the Series 40 3rd Edition FP 2 onward. However you need to get the MIDlet signed from the Manufacturer / operator domain.


    Possible values:

    yes
    no
    once
    Example: Nokia-MIDlet-auto-start: yes
    The device you are referring to is of the S60.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  12. #12
    Registered User tuxette's Avatar
    Join Date
    Oct 2010
    Posts
    44
    So there's absolutely no way to make a midlet autostart in a S60...?

  13. #13
    Registered User DileepKumar's Avatar
    Join Date
    Nov 2011
    Posts
    66
    Hi, I am developed one j2me application. I am Using Nokia n95 mobile.
    I want run the application in background.
    I See your answer and try it.
    But, it is not worked .
    Any other solution is available? PlZ help me...

  14. #14
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,294
    Quote Originally Posted by DileepKumar View Post
    Hi, I am developed one j2me application. I am Using Nokia n95 mobile.
    I want run the application in background.
    I See your answer and try it.
    But, it is not worked .
    Any other solution is available? PlZ help me...
    It is not feature of J2ME, but it depends on platform in which MIDlet runs,
    I have answered here : http://www.developer.nokia.com/Commu...-in-Background

    regards,
    rahul

  15. #15
    Registered User DileepKumar's Avatar
    Join Date
    Nov 2011
    Posts
    66
    Midlet Version 1.0.0 support for Nokia-Midlet-auto-start:yes ?

Page 1 of 2 12 LastLast

Similar Threads

  1. Agent appplication with should run in background
    By alonish in forum Mobile Java General
    Replies: 8
    Last Post: 2007-01-08, 14:50
  2. Replies: 4
    Last Post: 2005-09-01, 13:47
  3. Moving application in background and foreground
    By lilesh in forum Symbian User Interface
    Replies: 5
    Last Post: 2005-06-16, 10:00
  4. don't run application on my 7650
    By aritzita in forum Mobile Java General
    Replies: 4
    Last Post: 2003-11-04, 11:44
  5. Replies: 1
    Last Post: 2003-10-17, 08:45

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