How to get videos to play on full screen size?

All your problems with Audio, Video and Images.

How to get videos to play on full screen size?

Postby andy1979s » Wed Jun 08, 2011 2:39 pm

Hi guys, im new to the forum... and a Newby on android development.... Have a couple off apps done in google inventor, and am now trying to code them from scratch....

Was just wondering.... trying to get this app done... it has built in videos....

So what i want to do is.... Just to start... simple example...

i button, when pressed it will use the builting video player and play the video at full screen...

Looked everywhere but no luck....

Any advise is very welcome...

Regards

Dre
andy1979s
Freshman
Freshman
 
Posts: 2
Joined: Wed Jun 08, 2011 2:34 pm

Top

Re: How to get videos to play on full screen size?

Postby abhijitphatak28 » Thu Jun 09, 2011 6:53 am

You can extend VideoView class and override method onMeasure. Here you can set Measured Dimention to full screen co-ordinates.

Thanks

Regards
-Abhijit
User avatar
abhijitphatak28
Senior Developer
Senior Developer
 
Posts: 102
Joined: Sat Feb 12, 2011 1:18 pm
Location: Indore

Re: How to get videos to play on full screen size?

Postby andy1979s » Thu Jun 09, 2011 10:07 am

Cool thank you... will have a go
andy1979s
Freshman
Freshman
 
Posts: 2
Joined: Wed Jun 08, 2011 2:34 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google Feedfetcher and 11 guests