I would like to bring up the Camera in my app, and let the user take a photo by pressing the hardware volume buttons on the phone.
Is this possible? Can I trigger a function when the users changes the volume, and can I then programatically trigger the camera in this function?
A link or code snippet would be much appreciated.