I wish to Sync or download multiple files from server on user demand in a native android app. I need to update UI about status of the Sync in progress as well. So in this case which of the below android component should be used.
- Service
- IntentService
- AsyncTask
Use
AsyncTaskto do your background work and to update UI elements implementonProgressUpdate()in your task. See docs for details.