title: connect/disconnect bluetooth keyboard Adobe Air Android App Crash
body: <p>My App crashes always after bluetooth keyboard connects or disconnects while StageWebView is active and the user is tapping on it.</p>
  
  <p>I found out that Setting android:configChanges="orientation|keyboard|keyboardHidden" on the main activity could solve this problem (works for native apps). But this is not supported by Adobe <a href="http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffc.html" rel="nofollow">http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffc.html</a></p>
  
  <p>Steps to reproduce:</p>
  
  <ol>
  <li>Create Adobe Air Mobile Application</li>
  <li>Use StageWebView to load and display an external Website</li>
  <li>Run the Application on an Android Device</li>
  <li>Connect bluetooth keyboard to your Device</li>
  <li>Run the App</li>
  <li>After the page has loaded select and deselect text on the page and connect/disconnect your keyboard a few times</li>
  <li>The App will crash (unfortunately application has stopped)</li>
  </ol>
  
  <p>The App does not crash if you destroy and reload StageWebView. But this is not an acceptable solution for my use case.</p>
  
  <p>There is a related entry on Adobe bugbase:
  <a href="https://bugbase.adobe.com/index.cfm?event=bug&amp;id=4158541" rel="nofollow">https://bugbase.adobe.com/index.cfm?event=bug&amp;id=4158541</a></p>