The UserClosed parameter in Sub Activity_Pause (UserClosed As Boolean) used to be True if the Back key was pressed by the user. While chasing down an anomaly in a new very simple app I have found that ,whereas this is still true in Android 10 and 11, it is not so in Android 12.
It seems that in Android 12 pressing the Back key causes UserClosed to be False unless a Sub Activity_KeyPress is present. when it is True. There doesn't need to be any code in Sub Activity_KeyPress, it just needs to be declared.
Is this a change in Android 12 or a bug in B4A?
It seems that in Android 12 pressing the Back key causes UserClosed to be False unless a Sub Activity_KeyPress is present. when it is True. There doesn't need to be any code in Sub Activity_KeyPress, it just needs to be declared.
Is this a change in Android 12 or a bug in B4A?
Attachments
Last edited: