• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

andriod radio

Gopi

Lurker
Oct 20, 2010
1
0
hi
am new to andriod and trying to play radio in my application & i created media player for that but am getting error. the media player is not getting started.
here the log cat code


Command PLAYER_INIT completed with an error or info PVMFErrCorrupt.
error (1, -10).
java.io.IOException: Prepare failed.: status=0x1

And my source code is
MedaiPlayer player =new MediaPlayer();
player.setDataSource("http://yp.shoutcast.com/sbin/tunein-station.pls?id=1426095&k=sh1qXrnu4wN2oPZY");
player.prepare();
player.start();
Help me
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones