Multi-window mode (Android v3)
To ensure that your app supports multi-window mode, make the following changes to your code:
- Add
JWPlayerView#onStart()
/JWPlayerView#onResume()
/JWPlayerView#onPause()
/JWPlayerView#onStop()
invocations into yourActivity
's orFragment
's lifecycle. - Add
configChanges
to all activities that are registered in yourAndroidManifest.xml
.
<activity
android:name=".MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout" />
For more information about multi-window mode please visit Android.
Updated over 1 year ago