How to access IntentService queue?

I have an activity that transfers several loading processes to the IntentService queue. Now I would like to show a list of pending and started downloads and a button to stop the download.

on this issue By asking for an IntentService to get information about my queue , I started implementing an external queue, but I don’t know yet how to stop a specific task.

Are there any better ways to manage an IntentService queue?

+4
source share
2 answers

Register BroadCastReceiver ("stopUpload") in your IntentService to stop loading when this intention is received. Run this intent from your sendBroadcast activity ("stopUpload").

+4
source

Are you better off not working with the service and AsyncTasks?

+2
source

All Articles