yo3ggx Active Member Licensed User Longtime User Apr 12, 2016 #1 Is this possible? I've seen this: http://code.tutsplus.com/tutorials/android-sdk-intercepting-physical-key-events--mobile-10379 How can this be done in B4A? Mainly I'm interested to capture camera shutter button and use it as a PTT button. Thank you. Dan
Is this possible? I've seen this: http://code.tutsplus.com/tutorials/android-sdk-intercepting-physical-key-events--mobile-10379 How can this be done in B4A? Mainly I'm interested to capture camera shutter button and use it as a PTT button. Thank you. Dan
DonManfred Expert Licensed User Longtime User Apr 12, 2016 #2 which device has an hardware camera shutter button? Sounds for me like you are talking about a button inside the camera app. Upvote 0
which device has an hardware camera shutter button? Sounds for me like you are talking about a button inside the camera app.
yo3ggx Active Member Licensed User Longtime User Apr 12, 2016 #3 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
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