If you are trying this on an emulator, that is expected behavior. The
emulator requires very fast hardware to play back videos. I recommend
anyone who is serious about video playback on Android should develop
and test using actual devices.
On Mon, Oct 11, 2010 at 5:08 AM, Ahmed Shoeib
wrote:
> hi all,
>
> i want to play mp4 video on android .
> using intent
>
> this is the code i used to play mp4 file :
>
> Intent intent = new Intent(Intent.ACTION_VIEW);
> intent.setDataAndType(Uri.parse("http://www.apphuset.no/
> skiprepper/video/rex/6.mp4"), "video/mp4");
> startActivity(intent);
>
>
> but there is no video play back only sound we can here from it
>
>
> what is the problem and how to fix this ?
>
>
> thanks.
>
> --
> 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
>
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training...At Your Office: http://commonsware.com/training
--
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