I'm looking for a user interface for a MediaPlayer which should be able to play video as well as audio files.
Furthermore it needs the following things (nothing fancy):
It sounds pretty much like the standard audio-player of Android >= 2.0. Sure, I could try to find its source code but that would require to tediously check out the entire source. I'm just asking for a more efficient way.
Thanks in advance,
steff
Alright, I'm a real moron. Since the API Demos don't call mVideoView.start();
I thought I doesn't work. So the answer to my silly question is VideoView, which lets you play videos as well as audio files. For controlling those files just add a MediaController, call mediaController.setMediaPlayer(mediaPlayer);
and you're good to go. Simple as that...