×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    39

    Question Backgroud Service

    Hi All,
    I am trying to write an application that:

    1. runs in the background that periodically
    gets the users gps location and sends it to a
    server.

    2. The application should preferably be somehow
    auto loaded by the system on startup if possible.

    3.Also if possible the user if desires should
    be able to interact with the service to
    change some parameters.

    Does anyone know if this can be done,
    in part or just some of the options.

    Thanks in advance,
    Burim

  2. #2
    Regular Contributor
    Join Date
    Jul 2003
    Posts
    89

    Re: Backgroud Service

    Hi Bruim

    Answers to your queries
    1. Yes, you can set display to null. There are plenty of posts on the forum about that.

    2. Yes you can use the push registry to launch a midlet, once the midlet has started you can either depend upon the user to send the midlet to background or pragmatically send the midlet to background by setting the display to null.

    3. Yes, but this depends totally on your device, on a S60 device you can ask the user to hold down the menu key which will give a list of applications running and then you can simply choose your App. from that list.

    Alternately simply open the application again and this will simply restore the App.

    Moreover note that running multiple application at the same time will only be possible on S60 devices. S40 devices do not support that.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    39

    Re: Backgroud Service

    Thanks for your info.
    I appreciate it.

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    19

    Re: Backgroud Service

    Hi, can you tell me how to make the second answer possible? I know I can use the PushRegistry to make it run, but I haven't been able to do it from the start.

  5. #5
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Backgroud Service

    diegoq16, starting the MIDlet at the phone start-up is not possible. Some Sony-Ericsson decives support an proprietary mechanism for that, though.

    Hartti

Similar Threads

  1. Cannot find where the issue is, Bluetooth service discovery
    By newbietoprofessional in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-07-14, 16:39
  2. bluetooth service not visible
    By rosenholzer in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-03-08, 08:26
  3. Replies: 4
    Last Post: 2006-09-05, 15:15
  4. 6680 and bluetooth service profiles
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-08, 22:24

Posting Permissions

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