B balajeebhopal New Member Licensed User Apr 19, 2016 #1 I want to terminate all pending HTTP jobs while activity is paused or terminate. There are multiple jobs are in progress on this activity.
I want to terminate all pending HTTP jobs while activity is paused or terminate. There are multiple jobs are in progress on this activity.
Erel B4X founder Staff member Licensed User Longtime User Apr 19, 2016 #2 You should make the calls from a service and then the activity will not be resumed when the requests complete. If you really want to cancel the requests (because they are very large) then you can use this solution: https://www.b4x.com/android/forum/threads/download-huge-files-with-httputils2.30220/#content Upvote 0
You should make the calls from a service and then the activity will not be resumed when the requests complete. If you really want to cancel the requests (because they are very large) then you can use this solution: https://www.b4x.com/android/forum/threads/download-huge-files-with-httputils2.30220/#content