On Dec 10, 8:26 am, John <[email protected]> wrote:
>         String VideoResourcePath =
> getResources().getResourceName(R.raw.myVideo);
>         VideoResourcePath = VideoResourcePath.replace(':', '/');
>         VideoPlayerView.setVideoPath("android.resource://" +
> VideoResourcePath);

I'm confused.  Do these lines of code ever work under any
circumstances?  Raw resources are usually meant to be read as input
streams and not dealt with using file paths.

You might want to take a moment to google about playing videos from
resources or assets.

Doug

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