Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 756
maxsap Avatar asked Jan 19 '10 23:01

maxsap


1 Answers

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();
like image 140
Pedro Ghilardi Avatar answered Nov 12 '22 18:11

Pedro Ghilardi