有一个在我的应用程序的问题,我想用seekTo()函数VideoView是这样的:
There is a problem in my application,I want to use the seekTo() function with VideoView like this:
videoView.seekTo(time);
videoView.start();
它的工作原理以及在Android 2.2系统,但在安卓2.3或更高版本不工作... 有些身体会告诉我为什么?这困扰我薮天。
It works well in android 2.2,but doesn't work in android 2.3 or higher version... Some body will tell me why?It troubles me for serval days.
在以 seekTo()
工作,该视频应该是在 PlaybackState
。
In order to seekTo()
to work , the video should be in PlaybackState
.
见 VideoView
来源此处了解更多信息。