|
2011-05-25
, 13:24
|
Posts: 650 |
Thanked: 497 times |
Joined on Oct 2008
@ Ghent, Belgium
|
#142
|
|
2011-05-25
, 13:26
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#143
|
|
2011-05-25
, 17:26
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#144
|
Couple of questions though please. I would like to switch between other apps and leave this running in the background. I can switch by pressing ctrl-backspace on the keypad, but some other apps (particularly web browser) allow the title bar to appear by tapping the bottom right of the screen, yours doesn't. Would you plan to add that?
Also if I set the daemon to still run after the program exits, it seems to use a 'fast' GPS location which is generally the cell tower nearby. I can see the GPS fire up and shut down but it doesn't get a true lock, whereas if I leave the program running it gives an accurate lock.
|
2011-05-25
, 21:36
|
|
Posts: 2,050 |
Thanked: 1,425 times |
Joined on Dec 2009
@ Bucharest
|
#145
|
- there is simply a single on/off button for "Background updates". When on, it starts at boot, and doesn't stop. When off, it doesn't start at boot, and if you run zaploc and it finds a running daemon it kills it.
|
2011-05-26
, 15:53
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#146
|
Could you add a delay at start? First, the network is still down, as posted, second, there's a lot going on at startup, why add to the pain? Add a wait 60 or something at startup, give the phone a chance to start fully, do the desktop, go though the tracker, browserd doing stuff.
|
2011-05-26
, 19:16
|
Posts: 13 |
Thanked: 1 time |
Joined on Feb 2010
|
#147
|
Starting ZapLoc daemon... Location method: GPS only 60 minutes between samples 22:07:38: Starting GPS... 22:07:38: Actual GPS interval 60 minutes 22:07:38: Got loc data <snip> (acc nan), Mode 1 - IGNORED 22:07:40: Got loc data <snip> (acc 53.763000), head nan, speed nan, Mode 2, Try 0 22:07:40: Latitude update <snip> (acc 53.763000) 22:07:41: Checked you in at <snip> on Latitude 22:07:41: General location update <snip> (acc 53.763000) 22:07:41: Searching for closest spot: 22:07:41: The closest AutoCheck spot is <snip> 22:07:41: Spot ignored because it is further than 50 meters away 22:07:41: Sleeping... Zzzzz 22:07:45: Got loc data <snip> (acc 53.763000), Mode 0 - IGNORED 22:08:08: A good location fix was acquired within the timeout: Good!
|
2011-05-26
, 23:57
|
|
Posts: 2,050 |
Thanked: 1,425 times |
Joined on Dec 2009
@ Bucharest
|
#148
|
|
2011-05-27
, 05:39
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#149
|
Got a problem lately, where the daemon seems to be satisfied with cell location even though mode is on --gps. When starting the daemon, GPS icon flashes for a few seconds until coarse accuracy appears, then disappears and latitude is updated.
Verbose output of an example case:
(build 43, happened with earlier builds as well)Code:Starting ZapLoc daemon... Location method: GPS only 60 minutes between samples 22:07:38: Starting GPS... 22:07:38: Actual GPS interval 60 minutes 22:07:38: Got loc data <snip> (acc nan), Mode 1 - IGNORED 22:07:40: Got loc data <snip> (acc 53.763000), head nan, speed nan, Mode 2, Try 0 22:07:40: Latitude update <snip> (acc 53.763000) 22:07:41: Checked you in at <snip> on Latitude 22:07:41: General location update <snip> (acc 53.763000) 22:07:41: Searching for closest spot: 22:07:41: The closest AutoCheck spot is <snip> 22:07:41: Spot ignored because it is further than 50 meters away 22:07:41: Sleeping... Zzzzz 22:07:45: Got loc data <snip> (acc 53.763000), Mode 0 - IGNORED 22:08:08: A good location fix was acquired within the timeout: Good!
As you can see from the timestamps, the daemon doesn't even try to wait for a better fix.
Ideas?
|
2011-05-27
, 06:42
|
Posts: 13 |
Thanked: 1 time |
Joined on Feb 2010
|
#150
|
Basically, I'm now looking at accuracy, rather than the sample mode, but I think that in "--gps" mode, I should change it to still be looking at the mode=3 (which means "this value came from the GPS"). This is a trivial fix.
Curious; how far away would you guesstimate that tower actually is?
Now daemon starts at boot (--boot) which is not fun, because it doesn't have network yet and it doesn't lock.
Furthermore, exiting app leaves it running (-d). Setting seems gone. Did you give up trying to kill it?
N900 dead and Nokia no longer replaces them. Thanks for all the fish.
Keep the forums clean: use "Thanks" button instead of the thank you post.