On Mon, Oct 19, 2009 at 12:05 PM, Mike <internet...@hotmail.com> wrote:
>
> Hello,
>
> calling MediaPlayer.onStart() from Activity.onResume() (after the
> Activity has been paused) causes the following messages in logcat:
> MediaPlayer start called in state 64
> MediaPlayer error (-38, 0)
> MediaPlayer Error (-38,0)
> Now the question is, what are the messages trying to tell me? What
> state is 64?
> Please enlighten me.

It's the 'stopped' state. When in that state, you need to call
prepare() again before starting playback.

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

Reply via email to