Is possible to play an Internet radio stream in Android? And since most of the Internet radios use MMS to stream their content is that possible using Android?
A:
I use an app called "Cherry Rplayer" for radio streaming on my Android phone. It allows you to stream to custom stations as well as pick anything from the built-in Shoutcast and Icecast directory browsers. You can also see the other apps from the developers, they have apps for custom mms streams, etc...
loginx
2010-01-19 23:17:00
A:
Look at this page about audio, video and streaming on Android.
This simple examples was extracted from this page. It creates an instance of media player, set the data source (stream location) and starts the communication.
MediaPlayer mp = new MediaPlayer();
mp.setDataSource(PATH_TO_FILE);
mp.prepare();
mp.start();
Pedro Ghilardi
2010-01-19 23:17:18
Thanks guys for the quick answer, pghilardi: are you sure that using MediaPlayer android can stream mms? because I have read that MediaPlayer doesn't support mms streaming.Sanoj,loginx: thanks for the reference but I would like to know the way to stream and if like pghilardi said it is possible to stream using an standard android class and not to know if there is an application to listen to music to.regards maxsap
maxsap
2010-01-21 14:03:31
I think that this tutorial could help you: http://blog.pocketjourney.com/2009/12/27/android-streaming-mediaplayer-tutorial-updated-to-v1-5-cupcake/But i don't understand why the down votes to my answer. =P
Pedro Ghilardi
2010-01-21 14:33:01