plz help me out....Actually i want to play many file one by one in
media player.im using that code

MediaPlayer  melodyPlayer=MediaPlayer.create(context, resID);
                                melodyPlayer.seekTo(0);
                                melodyPlayer.start();

but after same time i get Error


01-20 23:12:01.785: ERROR/AudioTrack(24): Could not get control block
01-20 23:12:01.785: ERROR/AudioSink(24): Unable to create audio track
01-20 23:12:01.785: ERROR/audiothread(24): Error creating AudioTrack
01-20 23:12:01.876: WARN/PlayerDriver(24):
PVMFInfoErrorHandlingComplete
01-20 23:12:01.886: DEBUG/MediaPlayer(316): create failed:
01-20 23:12:01.886: DEBUG/MediaPlayer(316): java.io.IOException:
Prepare failed.: status=0xFFFFFFFF
01-20 23:12:01.886: DEBUG/MediaPlayer(316):     at
android.media.MediaPlayer.prepare(Native Method)
01-20 23:12:01.886: DEBUG/MediaPlayer(316):     at
android.media.MediaPlayer.create(MediaPlayer.java:169)
01-20 23:12:01.886: DEBUG/MediaPlayer(316):     at
org.isol.MyCustomButton$1.onClick(MyCustomButton.java:89)




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to