Example of streaming mp3 mediafile from URL with Android MediaPlayer class
Few days ago i tried to make my Android app can play music from URL.
The Android API give to us a very useful class. Here i want show you how to make the streaming m3 mediaplayer using MediaPlayer class from Android API. This app use Android 2.2.
Below you can see the UI of this app. It’s very simple. Also below you can get the link for downloading source code
Here i show you only Activity file (StreamingMp3Player.java).
package com.hrupin.streamingmedia; import android.app.Act