Android Question Capture KeyUP and KeyDOWN for hardware buttons

DonManfred

Expert
Licensed User
Longtime User
which device has an hardware camera shutter button?
Sounds for me like you are talking about a button inside the camera app.
 
Upvote 0

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
Top