Closed cesine closed 12 years ago
Choose to keep the db really really simple, 4 fields id filename on the sdcard metadata in json{lat long timestamp, notes experimenterID etc} uploaded boolean to find files which need to be uploaded when user clicks sync
We need a simple db (wrapped in a content provider) with one table to store pending image metadata with a flag (uploaded/notuploaded) that the Queue activity will use to determine which samples need to be uploaded.
The rows will be metadata per image capture.
timestamp, latitude,longitude, filename, sampleuniqueidentifier,userwhotooktheimage,userwhotookthesample(?)
This info will be written to the DB by the TakePicture Activity, and read+written by the ServerSync activity.