isenseDev/iSENSE-Hardware — pull request #519 by stowellm (2013-05-10 13:37:21+00:00)
Title:  Android Data Collector control flow and usability update 

Automatic follows an updated control flow that makes it easy for the user to determine what's going on and what to do.

Some of my raw testing procedures/notes:
Testing paths:

No connectivity, no credentials at all. Get the need connectivity dialog.
make startStop give you no connectivity dialog if no credentials and no internet connectivity
menu->experiment waffles you if no connectivity that only cached experiments will be searched

Connectivity, no credentials at all. No thanks, don't log in. Enter experiment number credentials, don't pick fields.
startStop now looks for fields too
waffle for if you need a session name, not just setError

Connectivity, no login credentials, yes experiment credentials. No thanks, don't log in. Should get fields prompt.

Connectivity, no login credentials, yes experiment and fields credentials. Sure, login this time. Should be done after that.
if dfm null, initDfm called before grabbing fields

No connectivity, all credentials. Should get the need connectivity but can record dialog. Try recording and uploading. Get the save dialog. Enable connectivity, upload, check data.
again, initDfm if it's null. also fixed layout bug with UploadFailSave
change QueueLayout to tell the user if there's no internet before checking login status

Repeat above. Shouldn't get save dialog this time.

Connectivity, all credentials. No prompts should show. Record data and upload. Should succeed, no dialogs. Best case scenario.
gps not found until i open/close the notification bar …?