Greetings, all.
Thank you for answering my question.
I have an app that in Nexus 7 Android 4.3 is getting Fatal error 11 and 7 depending on how I modify the code. The app has multiple activities. The error occurs in one of the activities which is a text editor when I press the backkey. The app has 7 activities and the back key works fine in the other 6.
Fatal Errors are described in:
http://publib.boulder.ibm.com/infoc...sp?topic=/com.ibm.rt.doc.10/user/sighand.html
The error does not happen in Android 4.2, 4.1, 4.0, and 2.3. I have looked in the B4A Forum - no answer. I have tried several workarounds. The error sometimes happens in the activity that is finishing, but sometimes in the Activity Resume in the activity that the app is returning to (always Main).
The app works fine if exit is done from the menu and not from the back key.
Is there a way to stop the backkey from finishing the activity?
Any answer will be appreciated.
Thank you for answering my question.
I have an app that in Nexus 7 Android 4.3 is getting Fatal error 11 and 7 depending on how I modify the code. The app has multiple activities. The error occurs in one of the activities which is a text editor when I press the backkey. The app has 7 activities and the back key works fine in the other 6.
Fatal Errors are described in:
http://publib.boulder.ibm.com/infoc...sp?topic=/com.ibm.rt.doc.10/user/sighand.html
B4X:
Sub Activity_KeyPress (KeyCode AsInt) AsBoolean
If KeyCode = KeyCodes.KEYCODE_BACK Then
The error does not happen in Android 4.2, 4.1, 4.0, and 2.3. I have looked in the B4A Forum - no answer. I have tried several workarounds. The error sometimes happens in the activity that is finishing, but sometimes in the Activity Resume in the activity that the app is returning to (always Main).
The app works fine if exit is done from the menu and not from the back key.
Is there a way to stop the backkey from finishing the activity?
Any answer will be appreciated.