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
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