On Sat, Feb 14, 2009 at 3:01 PM, Brendan <raven...@gmail.com> wrote:

>
> Wow that sounds really convenient. Since the signature of the
> MediaPlayer.create() that takes a SurfaceHolder requires the second
> argument to be a URI and not a resource id, I tried creating a URI for
> the resource by doing this:


Oh, right, of course. My original comment stands then :)
You'll have to use "new MediaPlayer" instead of the MediaPlayer.create
convenience method.

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