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

>
> Wow, thank you for helping me through this. That was the little last
> little bit I needed. I finally got the video playing successfully by
> waiting until surfaceCreated to try calling prepare.
>
> Though I have to admit that it feels like a lot of code to just to
> play a video.


That's why you'd normally use VideoView, which does all this for you.
VideoView doesn't support playing from a resource though, so you have to
jump through some extra hoops for that case.

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