Issue
Bluetooth keyboard will cause activity destroy and recreate if I turn off it or far away from pad(Android) Activity will be recreate how can i avoid this problem
Solution
Pairing a Bluetooth keyboard is considered to be a configuration change: Try adding the below to your AndroidManifest.xml
android:configChanges="keyboard|keyboardHidden"
From: http://developer.android.com/guide/topics/manifest/activity-element.html#config android:configChanges
Answered By - Schleir
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.