Andrew Cox
- Forum posts: 4
Jul 12, 2013, 12:13:51 AM via Website
Jul 12, 2013 12:13:51 AM via Website
(I am using an HTC Evo 4G LTE as my device, with Jellybean)
I am using a service with a broadcast receiver, after I close my main activity.
I can detect the standard long-press of the camera button, but I need a method of detecting if its being held down for say, 6 seconds or something.
I am using a service with a broadcast receiver, after I close my main activity.
I can detect the standard long-press of the camera button, but I need a method of detecting if its being held down for say, 6 seconds or something.
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.