You can refer to video resource as a string and use it for the path.
If your package name is "com.mypackagename", then the resource in the
raw directory will be:

"android.resource://com.mypackagename/raw/myvideosample"

Carmen
http://www.twitter.com/CarmenDelessio
http://www.talkingandroid.com
http://www.facebook.com/BFFPhoto

On Thu, Jul 8, 2010 at 10:21 AM, Victor Hugo <[email protected]> wrote:
> hi,
>
> how do i to play a video in format .3gp with VideoView
>
> R.raw.myvideosample
>
> the video from my resource path????
>
> ty
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to