开发者

Open source VideoPlayer / AudioPlayer / MediaPlayer GUI / UI resource available? [closed]

开发者 https://www.devze.com 2022-12-24 04:05 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

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):

  • TextView for playing time
  • Progress Bar for progress visulization
  • Play/Pause/Stop buttons
  • NO playlist functionality required, the player will only play a single item (that's why I don't need next/previous buttons).

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...

0

精彩评论

暂无评论...
验证码 换一张
取 消