How to intercept keystroke messages for the three main keys on your Android phone. #2883
Replies: 2 comments
-
@ChinaGodzilla |
Beta Was this translation helpful? Give feedback.
-
Sorry, I forgot to post the code. What I want to achieve is that when the back button is pressed on an Android phone, the program will return to the previous page of the current browsing interface For example: For example, if we press the back button in page.route == "/store": we will return to the home page ’/‘
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have finished packaging the APK. Pressing the back key currently doesn't work on Android phones. Apparently my program is not connected to the Android key event when the return key is pressed. How to do it
thanks for yous time.
Beta Was this translation helpful? Give feedback.
All reactions