Currently my App can be closed by 2 ways:
1. Tap menu Exit on screen.
2. Press back button on device.
But I only want to accept the "menu way" not "button way". I try to catch KeyPress event but I don't know how. Documentation doesn't mention about it too.
1. Tap menu Exit on screen.
2. Press back button on device.
But I only want to accept the "menu way" not "button way". I try to catch KeyPress event but I don't know how. Documentation doesn't mention about it too.