Android Question Capture KeyUP and KeyDOWN for hardware buttons

yo3ggx

Active Member
Licensed User
Longtime User
Hi.

In my case is a Sony Xperia ZL which has a hardware shutter button for the camera, but there are others too.
I've found the solution.
I just have to define the event
Activity_KeyUp (KeyCode As Int) As Boolean

I was not aware this event exist in B4A.

Thank you.
Dan
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…