saintbyte / openbmap

Automatically exported from code.google.com/p/openbmap
Other
1 stars 1 forks source link

Synching wifi catalog locally should announce completion and be thread-safe #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Sync wifi catalog locally (with some 200 sessions in the DB)

What is the expected output? What do you see instead?
I see a toast that says "syncing wifi catalog locally" but I have no idea how 
long this process takes, when it finishes and whether it has been successful. 
Additionally, starting a new log and switching to map view before sync has 
finished will crash Radiobeacon.

What version of the product are you using? On what operating system?
0.8.8 on Cyanogenmod 11.0 M11

Please provide any additional information below.
An idea for a status report would be a notification at the end of the sync 
process.

Also, database access should take place in a thread-safe manner. If concurrent 
DB access by two threads (sync and logging) is not possible, then starting new 
logs should not be possible while sync is still in progress (concurrent access 
is preferable, though).

Original issue reported on code.google.com by mich...@vonglasow.com on 19 Jul 2015 at 11:14

GoogleCodeExporter commented 9 years ago

Original comment by wish7code on 20 Jul 2015 at 5:18