but i want it for mp4 files

On Oct 3, 9:05 am, AnasSamara <[email protected]> wrote:
> 1-ADD VideoView in the layout.
> 2- push video file to sdcard
> 3- put the code
> VideoView videoHolder = (VideoView) activity
>                                 .findViewById(R.id.VideoView01);
>                 videoHolder.stopPlayback();
>                 videoHolder.clearFocus();
>                 videoHolder.requestFocus();
>                 videoHolder.setMediaController(new MediaController(activity));
>                 videoHolder.setVideoURI(Uri.parse("sdcard/androidVideo" + i + 
> ".
> 3gp"));
>
>                 videoHolder.start();
>
> On Oct 2, 11:09 pm, Sudsak <[email protected]> wrote:
>
> > READ THE DOCUMENTATION.
>
> >http://developer.android.com/guide/index.html
>
> > Google is your friend, use it.
>
> > On Oct 2, 6:57 am, Ahmed Shoeib <[email protected]> wrote:
>
> > > hi,
> > > i want to play video on android
> > > can anyone help me to play video ?????
>
> > > thanks,
>
>

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