-1

I have an mp4 video thats 1200*780 resolution that I am not able to play on my android device.I am using android 2.1 device for testing the application.I am using video view to play videos on my emulator.But I had read somewhere that video view has a limitation that it will not play videos above 320px.What should I do if I want large videos to be played on my android device?

Sujay Karanj
  • 81
  • 1
  • 3
  • 7

1 Answers1

0

You should resize video. For this you have create a custom class to VideoView and override onMeasure method. This link will help you. Its in detail.

Community
  • 1
  • 1
Seshu Vinay
  • 13,560
  • 9
  • 60
  • 109
  • thanks for the link..but that link explains to change the orientation.what I want to change the video resolution.Is there any other way to view the videos other than using video view? – Sujay Karanj Jul 26 '12 at 06:36