On Sat, Feb 14, 2009 at 1:32 PM, Marco Nelissen <[email protected]> wrote:

> Several things potentially wrong with your code:
> - you're using MediaPlayer.create(), which calls prepare() for you. IIRC,
> setDisplay() needs to be called *before* prepare(), so you won't be able to
> use any of the MediaPlayer.create convenience methods.


Scratch that. There's actually a version of MediaPlayer.create() that allows
you to specify the SurfaceHolder. Use that one instead of the one you're
using currently.

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