Right.. Here's the problem. I have two tablets, one running on API 14 (Android 4.01) and one running on API 15 (Android 4.03). On API 15 all works as you'd like it to. On API 14 the Right mouse button returns the Back Key (Keycode 4) and the Middle mouse button (or scroll wheel click) returns the menu key Keycode 82). Neither create a motion event as the do on API 15.
The new version (attached) handles these for the different API's within the B4A app, but you'll need to define an alternative method to call menu's and exit the app.
It now requires the Reflection library to determine the API level.
The new version (attached) handles these for the different API's within the B4A app, but you'll need to define an alternative method to call menu's and exit the app.
It now requires the Reflection library to determine the API level.
Attachments
Last edited: