keysym & android
Posted: Wed Nov 08, 2017 12:37 pm
I'm trying to understand how to use the back button on android in a custom screen.
The Launcher emulator says "PageUp is mapped to the back button". That means, when emulating, the PageUp key of my keyboard acts as the back button of an android device.
My question is, is that also correct on reverse?
If I make a button in a screen with keysym "K_PAGEUP", will the action of this button be executed when the back button on android is pressed?
The use case is an informative screen that pops-up in modal mode. It has a "Close" button, but it would be nice if also the back button closes it.
The Launcher emulator says "PageUp is mapped to the back button". That means, when emulating, the PageUp key of my keyboard acts as the back button of an android device.
My question is, is that also correct on reverse?
If I make a button in a screen with keysym "K_PAGEUP", will the action of this button be executed when the back button on android is pressed?
The use case is an informative screen that pops-up in modal mode. It has a "Close" button, but it would be nice if also the back button closes it.