Skip to main content
Inspiring
March 20, 2016
Question

Air Android App crash after bluetooth keyboard connects or disconnects while StageWebView is active

  • March 20, 2016
  • 0 replies
  • 566 views

connect/disconnect (keyboard power save) external keyboard makes my App crash.

One solution could be to set

android:configChanges="orientation|keyboard|keyboardHidden"

in my Main-app.xml but this is not supported by Adobe. Is it possible to set android:configChanges somewhere else?

Steps to reproduce:

  1. Create Adobe Air Mobile Application
  2. Use StageWebView to load and display an external Website
  3. Run the Application on an Android Device
  4. Connect bluetooth keyboard to your Device
  5. Run the App
  6. After the page has loaded select and deselect text on the page and connect/disconnect your keyboard a few times
  7. The App will crash (unfortunately application has stopped)

The App does not crash if you destroy and reload StageWebView. But this is not an acceptable solution for my use case.

This topic has been closed for replies.