I am having an android application that download songs from server to device. I am showing a progress dialog for this . I need to show the downloaded size , remaining size ,
elapsed time and time remaining to the user
How do I get these things from the application in Android?
Any pointers will be most useful.
Regards
Renjith
You should use async task and override onProgressUpdate()
Take a look at this link. Download a file with Android, and showing the progress in a ProgressDialog. The answer in the link should help you.
Calculate Percentage Downloaded and Time Remaining for in OTHER application.
What's the best way to calculate remaining download time?