Replace DeleteAllTracks and DeleteTrack with
confirmation dialogs.
Currently, for DeleteTrack, the listener code in
repeated twice in MapActivity and TrackList. But in the
ICS design, DeleteTrack will only be available in
one place.
- if an error occurs, the toast should display the error messageId from
trackWriter.getErrorMessage() if available
- when user cancels export, onPostExecute is not invoked, thus need to
release the wake lock in doInBackground