Downloading mp3 files in java on Android
Posted
by drozzy
on Stack Overflow
See other posts from Stack Overflow
or by drozzy
Published on 2010-05-04T23:50:47Z
Indexed on
2010/05/04
23:58 UTC
Read the original article
Hit count: 284
What is the best way to download an mp3 file in java (on Android sdk)? http://developer.android.com/reference/java/net/package-summary.html
Should I be using sockets? If so - what kind of "Stream" reader should I use? I have also read something about "intents" - is this something that is applicable here?
I am also curious as to what should one do if connection gets interrupted - can I resume the download somehow or restart it?
Any tips?
© Stack Overflow or respective owner