Companion app - location duplicates

Sergey Starosek sergey.starosek at gmail.com
Sat Mar 2 12:28:02 PST 2013


Hi,

Upgraded to the latest version 1.2 from Play store. There're 3 dives on
the server which are downloaded during sync.

1. Start background service
2. Obtain GPS fix
3. Upload new auto-created dive to the server
4. Press Sync button
5. Now you have 5 dives instead of 4

Last dive (steps 2 and 3) was fixed at 22:16, after sync I have an extra
dive at 20:15 (my timezone is GMT+2).

Dives as seen via server API:

{"user":"xxxxxxxxxxxxxxxxxxxxxxxxxx", "dives": [ 
{"name":"Auto-created dive", "latitude":"44.9371451139",
"longitude":"34.1314154863", "date":"2013-03-02", "time":"19:53:00"}, 
{"name":"Auto-created dive", "latitude":"44.9376008336",
"longitude":"34.1311099289", "date":"2013-03-02", "time":"20:40:00"}, 
{"name":"Auto-created dive", "latitude":"44.9373185411",
"longitude":"34.1311727402", "date":"2013-03-02", "time":"20:41:00"}, 
{"name":"Auto-created dive", "latitude":"44.9369627237",
"longitude":"34.1312813759", "date":"2013-03-02", "time":"22:16:00"}] 
, "download":"ok"}

Dives in local sqlite DB:

sqlite> select * from dives;
1|44.0|34.0|1362239580000|Auto-created dive|1|0
2|44.0|34.0|1362242400000|Auto-created dive|1|0
3|44.0|34.0|1362242460000|Auto-created dive|1|0
4|44.936962723732|34.131281375885|1362255414776|Auto-created dive|1|0
5|44.0|34.0|1362248160000|Auto-created dive|1|0
sqlite> 

Sergey


More information about the subsurface mailing list