Now this is just a hunch, as this is not what I did, but I read about voice recognition.
You probably need to press a button that launches the voice recognition intent or one of the speech recognition listeners ... I cannot find the page I saw, but this is the starting point: http://developer.android.com/reference/android /speech/RecognitionListener.html
Then, when he hears the speech, he will have to analyze it and check if he said βbindingβ, and then if he took a photograph.
I can imagine that there will be some complications, as there may be background noise, and I'm not sure how he will handle it, because I think the intention is just sitting there, listening! This probably would not have been right away, as I'm sure he should send to Google to check what was said.
Starting from the page that I gave, you can find all the documents of the developer, and there is an example, somewhere it is shown how to listen to the speech, but I can not find it now. I'm watching again.
I'm curious what you find!
source share