Results 1 to 5 of 5

Thread: How to run J2ME application in the background on startup

  1. #1
    Join Date
    Feb 2010
    Posts
    188

    How to run J2ME application in the background on startup

    Actually, I am facing some problem with the some queries of J2ME application.
    1. There is any possibility to run J2ME application on a S60 device in the background
    2. If this is possible then how can we switch to foreground again.
    3. One more thing is there any way to run these applications on the startup.
    I will be waiting for the related replies.

  2. #2
    Join Date
    Dec 2008
    Posts
    950

    Re: How to run J2ME application in the background on startup

    Well if you are trying to run the applications such as doing the network connection in the background and showing the “Please wait” screen in the foreground screen. Then this can be done using two threads. The first thread will do the operation on the background and the second thread will show the screen in the background. But if you are talking about running two application on the foreground then as per my knowledge it is not possible.

  3. #3
    Join Date
    Oct 2008
    Posts
    780

    Re: How to run J2ME application in the background on startup

    You can try to use MIDP 2.0's Push Registry for having an application that will be activated leading to the notification.



    The PushRegistry API allows you to register push alarms and connections, and to retrieve information about push connections. A typical push registry maintains lists of connection and alarm registrations in both memory and persistent storage.

  4. #4
    Join Date
    Feb 2010
    Posts
    188

    Re: How to run J2ME application in the background on startup

    Thank you for the reply, But I am searching for a method for running my application in the background. I mean the application should run all the time and the user should be able to use the mobile phone without noticing that the application running in the background. Can you suggest me some better answers.

  5. #5
    Join Date
    Jan 2006
    Posts
    4,545

    Re: How to run J2ME application in the background on startup

    Yes, you can run the background application on all the S60 and on Sony Ericson devices. You can do this by setting the currentdisplayable value to null and keep threads running in the background. The other option is that you can press the Menu key, then start another application, and push the old application which running in the background.
    In The Absence Of Light
    Darkness Prevail's

Similar Threads

  1. Replies: 4
    Last Post: 25-04-2011, 07:16 AM
  2. How to get Nokia's IMEI number through J2ME application
    By savio in forum Portable Devices
    Replies: 3
    Last Post: 01-09-2009, 06:38 PM
  3. Need support for browser in J2ME Application?
    By Dwij in forum Software Development
    Replies: 3
    Last Post: 04-03-2009, 10:12 AM
  4. Before Windows startup background Image
    By C.M.D in forum Customize Desktop
    Replies: 5
    Last Post: 04-02-2009, 01:52 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,534,978.71616 seconds with 16 queries