Highlighted

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

Community Beginner ,
Mar 20, 2016

Copy link to clipboard

Copied

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.

TOPICS
Development

Views

471

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Community Beginner ,
Mar 20, 2016

Copy link to clipboard

Copied

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.

TOPICS
Development

Views

472

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 20, 2016 0

Have something to add?

Join the conversation