title: How do you set event handler to hardware buttons in Android?
body: <p>Seems like a simple question, but I couldn't find an answer to it. I'm trying to write an activity that takes a picture using the camera, and I want to attach an onClickListener to the shutter button on the phone itself, but I don't know how to reference the button. </p>