Hi!
I have the following problem when using MediaPlayer with raw resource.
mp created like this:
mp = MediaPlayer.create(context, resID);
mpsetOnCompletionListener(this);
When onCompletion is called after mp.start() i do the following code
(like the documentation says)
public void onCompletion(MediaPlayer mp) {
mp.reset();
mp.prepare();
}
But there is always an exception at mp.prepare();:
prepareAsync called in state 1
What could be the problem?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---