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
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