Hi All!

Where I can find error code for EAS_Prepare?

I 've made simple sound test with the MediaPlayer (emulator 2.3,
Samsung gti5800):
//Prepared media player here

mp.start(); // Music started here:

mp.stop(); //Music stopped here

mp.prepare(); //Error here!
mp.seekTo(0);
mp.start();

So - when I try to call "prepared" right after "stop" I got the issue:
EAS_Prepare failed: [-31]

In according with MediaPlayer state diagram, I should be in "stopped"
state and should able to call prepare. What's wrong and why?

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