Locus Map - forum

Support => Wishlist => Topic started by: big on November 22, 2013, 21:43:49

Title: Possibility to abort internet related actions
Post by: big on November 22, 2013, 21:43:49
Hi,

actually there is no way to stop actions, that try to lookup network resources, like the geocaching page. The progress bar is visible and Locus is unusable until it succeeds or it times out. It would be a big help if these operations would be aboard-able, like it is possible when the navigation tries to lookup the GPS signal. Hitting on "wait..." button terminates the action.

Thanks!

Cheers, Lutz.
Title: Re: Possibility to abort internet related actions
Post by: Menion on November 23, 2013, 11:15:33
Hi,
  some time ago, there were no ability to cancel any tasks. Anyway I started to add "cancel" buttons to some loading dialogs. because I need to test and check every single loading dialog, it just works on a few of them. I'll look at it and give "cancel" ability to more places, promise :)
Title: Re: Possibility to abort internet related actions
Post by: berkley on November 23, 2013, 14:05:12
As most of "loading dialogs" are Async Tasks: http://developer.android.com/reference/android/os/AsyncTask.html
Why don't you send them to status bar? Maybe only for long operations...

Just this morning i've exported around 200 tracks to dropbox on poor internet connection and it took around an hour, where I couldn't use my phone...
Title: Re: Possibility to abort internet related actions
Post by: Menion on November 23, 2013, 14:21:57
hmm good idea. Little hard to do in case of long running operations, but thanks, I'll think about it
Title: Re: Possibility to abort internet related actions
Post by: berkley on November 23, 2013, 14:27:03
You are already calculating the progress in percent.
If (for example) 2% take longer than 10 seconds, show an additional button to hide (and/or cancel) the task.