1
我試圖流使用setDataSource的互聯網現場音頻,但是當我添加的網址它說這是一個未處理的異常..任何想法什麼是錯的嗎?與MP流媒體現場音頻安卓與MP
String daytonPolice = "http://relay.radioreference.com:80/691484064";
MediaPlayer mp = new MediaPlayer();
mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
mp.setDataSource(daytonPolice); // It will not take the string of my url
mp.prepareAsync();
mp.start();
你能發佈錯誤信息嗎? – ianhanniballake 2013-03-19 20:49:18