About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
[Android] Special buttons
Author Message
Scoring Offline
Member

Post: #1
[Android] Special buttons
Hi, can I anyhow check if user pressed Menu or Back hardware keys on device? I would like tie Back button with exit, similarly as KB_ESC handled in Update.

Or there is any option to get back the keycode when button pressed?

As I see Kb. functions gives back bool for specified code, I would need a method gets back the code directly.

I tried to display Str(Kb.c()) result to a textline but it caused CTD on device.

OK it is solved,
if(Kb.bp(KB_NAV_BACK)) return false;
works smile
(This post was last modified: 05-29-2014 01:32 PM by Scoring.)
05-29-2014 12:47 PM
Find all posts by this user Quote this message in a reply
Post Reply