Is it possible to use MMS to stream Internet radio in Android?
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?
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();
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...
精彩评论