Related questions
How to determine video width and height on Android
I have a video file and I want to get width and height of video. I don't want to play it, just to get size.
I've tried to use MediaPlayer:
MediaPlayer mp = new MediaPlayer();
mp.setDataSource(uriString);
mp.prepare();
int …
Playing video using MediaPlayer class
I am trying to make use of MediaPlayer class for playing a video file. The problem is video is not getting displayed at all though I can hear the sound in the video playing.
Following is the code of activity
…
Black screen when returning to video playback activity in Android
I'm currently developing the android application ServeStream and I've encountered and problem that I can't fix. My application will stream music and video using the android MediaPlayer class. I've modeled my class after the example found at:
http://developer.android.…