如何在 xamarin 上为媒体播放器使用 SeekBar android
How to use SeekBar for mediaplayer on xamarin android
我想在 mediaplayer 上使用 SeekBar 获取曲目的时间。并且显示时间长度和当前时间如下图
你看过这个吗linkhttp://www.androidhive.info/2012/03/android-building-audio-player-tutorial/它可能对你有帮助,但你需要从本机代码转换它。
您也可以尝试使用示例 seekbar with the play video sample and hook up the listeners for SeekBar.IOnSeekBarChangeListener
somethign like this question
我想在 mediaplayer 上使用 SeekBar 获取曲目的时间。并且显示时间长度和当前时间如下图
你看过这个吗linkhttp://www.androidhive.info/2012/03/android-building-audio-player-tutorial/它可能对你有帮助,但你需要从本机代码转换它。
您也可以尝试使用示例 seekbar with the play video sample and hook up the listeners for SeekBar.IOnSeekBarChangeListener
somethign like this question