The Google glass contains a camera button at the top. By default it invokes the default Google camera app and captures the picture in a single click.
If my app is running, I can receive the camera button pressed event by overriding onKeyDown()
in my app.
My question is, how can I make the camera button to start my app at first hand?
Also how does the Google camera app gets started when the camera button is pressed and how is the event again passed to onKeyDown()
?