我用videoview在Android的默认播放器播放视频。当我改变它的方向,它开始从开始播放。
I used videoview for playing a video in android default player. When I change its orientation, it starts playing from beginning.
我怎么能使其从该点,在朝向变为继续?
How could I make it to continue from that point, where orientation changed ?
地址:
<activity
android:name="...your_activity..."
android:configChanges="screenSize|orientation|keyboardHidden"
/>
到AndroidManifest文件,以处理视频播放的活动。
to the AndroidManifest file, to the Activity that handles video play back.