TheCacophonyProject / bird-monitor

Android application to regularly record birdsong for analysis
GNU General Public License v3.0
11 stars 9 forks source link

Improve user feedback during uploading of recordings and add a Cancel button #45

Closed timhot closed 5 years ago

timhot commented 5 years ago

The Recordings screen in the Advanced wizard, does not give updates on uploading progress.

Perhaps after each file is uploaded, the GUI is updated to show the remaining number of recordings on phone.

Also add a cancel button to stop further recordings being uploaded.

Cancel is likely to be pressed during the uploading of a file - should we interrupt the upload or finish the current upload? Need to consider what to do with a partially uploaded file? What does the server do if a file upload is interrupted?

timhot commented 5 years ago

Code does not interrupt the current upload, it just checks to see if the user has pressed the cancel button before each recording is uploaded.

timhot commented 5 years ago

Oops - found bug - Pressing cancel when phone is still connecting to server does not stop the first recording being uploaded.