Hi Luca, You may want to take a look at the VideoViewDemo and MediaPlayerDemo sample apps that are part of ApiDemos.
-- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 1, 2:26 am, Luca <lucayo...@googlemail.com> wrote: > Hi, > > I am trying to play a video file using the following code: > > MediaPlayer mp = MediaPlayer.create(v.getContext(), R.raw.myvideo); > mp.start(); > > I have tried both an mp4 file and a 3gp file. But when the file plays > I can hear it but I cannot see it... Do I have to do something else to > give it a surface to render upon? I have followed the instructions in > the dev guide but to no avail. > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---