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?
Is it possible to use MMS to stream Internet radio in Android?
How to play SHOUTcast?https://mcmap.net/q/175164/-android-mediaplayer-works-fine-in-custom-audio-streaming-application-up-to-android-2-1-but-not-in-higher-versions –
Zane
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();
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 –
Winebaum
I think that this tutorial could help you: blog.pocketjourney.com/2009/12/27/… But i don't understand why the down votes to my answer. =P –
Item
Android's default MediaPlayer does not support the mms protocol. Only http and rdsp! a possible alternative for this would be the use of the Vitamio library, vov.io/vitamio, like someone mentioned in a similar thread –
Bigley
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...
© 2022 - 2024 — McMap. All rights reserved.