I have an app that can download data from URL by using HttpURLConnection
. I have tried using AsyncTask
to create a background task, but it's not effective to pause and resume the download. It can cancel the download only. I thought there is another way to do it.
Question: Is there another way to create a backrground task without using AsyncTask
? If there are a lot of the ways, what are those ways?
Thanks in advance...