Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2009

    Who knows the Location Listener's lifecycle in details?

    hi All, i'm writeng a MIDlet using the location API (JSR 179). i registered a location listener to the location provider i got. when location changed, i could get notification. the device i use is running S60 3rd edition.

    but i wanna know the exact lifecycle of the listener, especially when the phone gets to standby, will the listener go sleeping? and, when the phone is standing by, could the listener get any notification when location moved? if can't, is there any way to perform that? i mean, is there any way, make a thread/listener/process running, and it could get location every minutes, even if the phone is standing by.

    thank you.

  2. #2
    Super Contributor
    Join Date
    Apr 2007

    Re: Who knows the Location Listener's lifecycle in details?

    well you do have a locationUpdated() method, if you just would write the time and the location on a Form every time the aforementioned method gets called, then you could start up your app, let it get a GPS fix, and afterwards just let the phone do it's stuff for like an hour... The phone will get into power safe mode and afterwards you can see if any location's were written on the Form...
    My experience though is that even when the phone get's in power safing mode (grey screen) it will still continue to get GPS fixes (tested on N95)...

Similar Threads

  1. s60 3rd ed emulator crash
    By Kimau in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-06-18, 22:12
  2. Getting the location of a Nokia Series 60, N80 phone
    By xgamerx in forum Mobile Java General
    Replies: 12
    Last Post: 2008-02-15, 06:01
  3. where is python location on mobile phone
    By lb213_2000 in forum Symbian
    Replies: 1
    Last Post: 2007-11-05, 09:56
  4. questions about location
    By will8552 in forum Symbian
    Replies: 4
    Last Post: 2006-11-06, 12:37
  5. did Nokia series was supports the Location API
    By lakshmanraob in forum Mobile Java General
    Replies: 5
    Last Post: 2005-11-16, 05:37

Posting Permissions

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