×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    10

    E75 A-GPS should ALWAYS start on start-up

    Hi,

    I am just wondering if one of you might have an idea on how to get the GPS respectively the A-GPS started once the mobile will be turned on. I want/need the GPS startend whenever the mobile will be started by the user.

    Any suggestions, ideas, tips, hints and links are highly appreciated!!!

    Regards and thanks for hellping me
    Niels

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: E75 A-GPS should ALWAYS start on start-up

    The GPS chip will "start" as soon as a client application asks for location info. If that application happens to start on boot then the location server will start at the same time too and will start providing the info.

    Remember though that a phone runs on battery and the GPS chip likes to eat its content. A lot. So what you "need" may not be what the user "wants".
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Registered User
    Join Date
    Nov 2009
    Posts
    10

    Re: E75 A-GPS should ALWAYS start on start-up

    Hi Itomuta!

    Sorry that I haven't replied earlier, but it seems to be that I haven't said in detail what I want/need to achieve.

    Here is my problem in detail:

    I am about to code an application and that NEEDS GPS! So, I haven't found as yet a code-snippet or detailed informations on how to get the GPS working once the mobile starts.

    The problem is that the application needs to get a gps location FAST once it is started. Thus it would be very helpful if the gps is always on so that a gps position is available at any time and the application does not need to wait for a gps fix that could possibly take minutes.

    Hope you or anyone else can help!

    Regards
    Niels
    Last edited by njende@deblatek.de; 2010-05-26 at 20:11.

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: E75 A-GPS should ALWAYS start on start-up

    basically you would then need to have a background process started that would keep checking the GPS, anyway as said by chief, it is propably not idea from the user point of view, since it really would kill the battery .

  5. #5
    Registered User
    Join Date
    Nov 2009
    Posts
    10

    Re: E75 A-GPS should ALWAYS start on start-up

    Hi Symbianyucca!

    Well, knowing that the GPS will eat lots of the battery, we still have to get the GPS started once the mobile starts. Have you got a code-snippet or a Link on how to get the GPS started as a background process on hand?

    That would be helpful!!!

    Thanks for your reply!

    Regards
    Niels

  6. #6
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: E75 A-GPS should ALWAYS start on start-up

    As you have an application that already reads the GPS, you can use same code for the background application, so no additional snipped needed really.

  7. #7
    Registered User
    Join Date
    Nov 2009
    Posts
    10

    Re: E75 A-GPS should ALWAYS start on start-up

    Hi Symbianyucca!

    First of all thanks for your quick reply!

    I couldn't find anything really helpful using $Searchengine telling me how to get my Java-App being a background process.

    Would you mind explaining me how to achieve that?

    Thanks a lot for your appreciated help!!!

    Regards
    Niels

  8. #8
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: E75 A-GPS should ALWAYS start on start-up

    Well, the presumption was that you are working on Symbian, where multitasking is possible and where I don't think having a Java app running in the background is much if a problem (if you don't consider the overhead), although that has nothing to do with LBS so you should better ask on the Mobile Java forums how to solve that bit. A power efficient daemon should however be written in Symbian C++, and then eventually use a Java client/front-end for it.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. JSR 179: External Bluetooth GPS disable, internal GPS enable
    By insrla00 in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2009-09-08, 09:38
  2. Diffrence between Network based GPS and Assisted GPS
    By sai_kumar in forum Geolocation and Navigation
    Replies: 2
    Last Post: 2009-09-05, 11:07
  3. Bluetooth GPS simulator for j2me phone
    By vgps in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-02-09, 04:30
  4. Replies: 6
    Last Post: 2005-12-19, 19:12
  5. GPS - Bluetooth connection problem
    By can_bal99 in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2005-08-22, 13:11

Posting Permissions

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