In this example we will combine some features of android like proximity sensor, voice recognizer and TTS.
Proximity Sensor: is sensor that can recognize presence of nearby object. we will user this sensor to start voice recognition. So when you take you android device near to your face, proximity sensor will start the voice recognizer.
Voice Recognizer: can convert speech to text. So when you give the voice command, its will return an array of matches and will start TTS.
TTS(Text To Speech): can convert text speech. In this application we will use TTS to listen voice command response.
Continue reading “voice command example using proximity sensor, voice recognizer and TTS in android” »