Android Question Using VideoView

Paul Edwards

Member
Licensed User
Longtime User
Hi

Is there a tutorial for using VideoView?

I am writing an app to play short video clips stored locally (Not streamed).

Thanks,
Paul
 

Paul Edwards

Member
Licensed User
Longtime User
Hi,

Tried the code from the documentation example and got an error message from the emulator "cannot play this file".

The file was a playable mp4 file lasting about 30 seconds.

Haven't been able to get this feature to work.
 
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime User
Upvote 0

Paul Edwards

Member
Licensed User
Longtime User
Dont use the Android Emulator. It is slow, unreliable..
Use a VM (for ex Genymotion) or a real Device
Hi,

I tried installing directly to the phone, but it still gives the same error message. The mp4 file plays ok in media player(windows) though.
 
Upvote 0

Paul Edwards

Member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…