Sample code for my blog post. You can read the full article here Blog post: Example of streaming mp3 mediafile from URL with Android MediaPlayer class