Is there a beautiful way to download an MP3 file via HTTP and cache it, playing it at the same time?
I tried to write downloaded bytes to a file and play that file using MediaPlayer. But when playing speed reaches downloading speed, playback stops. I don't think I'm thinking in a right direction. Writing into a file and reading it it at the same time seems to be quite strange, or am I wrong?