I have created an activity where i am trying to download files from different urls. while downloading i am saving the files to a particular location. But during execution it sometimes stucks between the downloading process and shows popup window either to continue or exit because size of files downloaded are varying and before downloading file it is moving to other activity. Is there any way to check either dowloading process completed or not.?