ANDROID FAQ: How can multi-window mode be enabled with the Android SDK? (Android v4)

Answer: Add configChanges to all activities and ensure the Lifecycle object is passed.


Android allows users to simultaneously display more than one app. To ensure that your app supports multi-window mode, you must make a make the following changes to your code:

  1. Ensure Lifecycle object is passed in while getting the player object (JWPlayerView.getPlayerAsync()).
  2. Add configChanges to all activities that are registered in your AndroidManifest.xml.
<activity
  android:name=".MainActivity"
  android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout" />