is there a possibility to disable the long press fuctionality of a button, for my app the CameraButton?
I am starting a CameraPreview out of my app to let the user take a picture. But if you press the CameraButton too long the native camera application starts. This is quite annoying, because it is hard for the user to see the difference between the native camera app and the camera preview provided by me.
I already tried to disable the long press functionality by catching the event, but unfortunately without success.
Thanks in advance