![]() |
2011-01-25
, 16:54
|
Posts: 324 |
Thanked: 739 times |
Joined on Jun 2009
@ São Paulo, Brazil
|
#92
|
![]() |
2011-01-25
, 17:13
|
Posts: 177 |
Thanked: 199 times |
Joined on Nov 2007
@ Concepcion, Chile
|
#93
|
![]() |
2011-01-25
, 18:21
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#94
|
Maybe
UI = Update interval (seconds, default 30min):
Cell (default) / Cell+Gps / Gps
GO = How long wait for a coordinate (default 30sec)
if not network, then not update
with cell, always i have a coordinate
with cell+gps, if the gps NOT fix, then fallback to cell
with gps, if the gps NOT fix, then not update
waiting for yours comments...
btw: the qtm location do not work well, never stop the gps, and always use the gps
![]() |
2011-01-25
, 23:18
|
Posts: 324 |
Thanked: 739 times |
Joined on Jun 2009
@ São Paulo, Brazil
|
#95
|
![]() |
2011-01-26
, 15:53
|
Posts: 177 |
Thanked: 199 times |
Joined on Nov 2007
@ Concepcion, Chile
|
#96
|
The Following User Says Thank You to rlinfati For This Useful Post: | ||
![]() |
2011-01-26
, 16:01
|
Posts: 650 |
Thanked: 497 times |
Joined on Oct 2008
@ Ghent, Belgium
|
#97
|
-refresh the daemon with new setting every x time,workaround: in the gui stop and start the daemon.
![]() |
2011-01-26
, 23:38
|
Posts: 324 |
Thanked: 739 times |
Joined on Jun 2009
@ São Paulo, Brazil
|
#98
|
@traysh the .ui file are "expensive" in cpu/ram..., also the use of dbus
![]() |
2011-01-27
, 08:45
|
Posts: 650 |
Thanked: 497 times |
Joined on Oct 2008
@ Ghent, Belgium
|
#99
|
![]() |
2011-01-27
, 09:38
|
Posts: 650 |
Thanked: 497 times |
Joined on Oct 2008
@ Ghent, Belgium
|
#100
|
I have a simple python script that gives me GPS coordinates. I don't understand it (partially since I don't understand the location API in the Python code) but it seems to always, in a reasonable way, figure out the current GPS coordinate, and it's always pretty accurate.
I live out in the country, and by celltower it locates me sometimes 6 kilometers from where I am! I hope you understand that isn't even a little bit useful?
Actually, for me, "last GPS coordinate" is probably of more use than cell tower.
#1 - how long it tries
#2 - what it does when it fails, i.e. "keep last GPS point" or "revert to Celltower"
As said, for me, celltower is almost worse than useless.
I wouldn't want that.
I actually tried to extend the Python code I had to do latitude, but something went wrong in the auth stage (even though I seem to be doing exactly what everyone else is doing... very strange).
Here's my suggestion:
You give the user these options:
UI = Update interval (seconds):
GO = How long to keep the GPS on (seconds):
So you update every UI seconds.
If GO is zero, then DO NOT USE GPS AT ALL, use celltower.
If GO is nonzero, but less than UI, turn on the GPS for GO seconds every interval, then turn off.
If GO is nonzero but equal to or greater than UI, then keep GPS on constantly.
That's easy, and not so many user interface controls, and gives the total flexibility, and saves YOU the problem of deciding how long to try the GPS.
The only remaining question is, what to do when GPS doesn't lock, fall back to celltower, or use the last working GPS position. Personally I suggest give the user an option for that too, i.e.
When no GPS Lock use:
[ ] Celltower position
[ ] Retain last GPS position
Please?
Pretty please?
I'll send flowers!
/Z