I have a webservice that download about 100 lines data and store into local database.
Then, from database sqlite, it will allocate into difference list.
I want to get the response from web service when the data is downloading from server to database, either is in progress or finished and should return the status.
I need the status to do some action.
Use
AsyncTaskfor downloading information from web-services to application that will take care about the response (i.e progress )here the document : AsyncTask
tutorial : AsyncTask – Tutorial