R rgately Member Licensed User Longtime User Aug 13, 2013 #1 I'm in the process of upgrading my app to, targetSdkVersion="14". Is it possible to detect when someone touches the 3-dot menu button on the Activity Bar? In the older UI style, I'm able to detect when the menu button was pressed with this statement Code: Copy If KeyCode = KeyCodes.KEYCODE_MENU in the Activity_KeyPress event. With the higher API, it appears that touching the menu button does not trigger the Activity_KeyPress event. Is there another way to detect when the menu key is pressed? I need to know when the menu button is pressed so that I can launch a custom menu instead. Thanks for any help!
I'm in the process of upgrading my app to, targetSdkVersion="14". Is it possible to detect when someone touches the 3-dot menu button on the Activity Bar? In the older UI style, I'm able to detect when the menu button was pressed with this statement Code: Copy If KeyCode = KeyCodes.KEYCODE_MENU in the Activity_KeyPress event. With the higher API, it appears that touching the menu button does not trigger the Activity_KeyPress event. Is there another way to detect when the menu key is pressed? I need to know when the menu button is pressed so that I can launch a custom menu instead. Thanks for any help!
Erel B4X founder Staff member Licensed User Longtime User Aug 14, 2013 #2 The button will only appear if you add at least one standard menu item. Instead of trying to catch it (which I'm not sure that is possible) you can add your own button and not add any standard menu button. Upvote 0
The button will only appear if you add at least one standard menu item. Instead of trying to catch it (which I'm not sure that is possible) you can add your own button and not add any standard menu button.
R rgately Member Licensed User Longtime User Aug 15, 2013 #3 I'm just surprised that Activity_Keypress doesn't recognize when the title bar menu button is pressed. It did before, when the menu button was located on the navigation bar. Upvote 0
I'm just surprised that Activity_Keypress doesn't recognize when the title bar menu button is pressed. It did before, when the menu button was located on the navigation bar.