Jim McKeeth has a blog post up with two JNI wrapper components which wrap the Android Speech Recognition and Text To Speech objects into Delphi XE6 Firemonkey components. If you are looking to build something like Apple’s Siri with Firemonkey this is a good place to start. Both components are available on Github in addition to two different demos which demonstrate the usage of the components. The Speech Recognizer demo implements both the new TAndroidTTS component and the TSpeechRecognition component. The TAndroid TTS component has a Speak() procedure which will speak the string that you pass it using the Android TJTextToSpeech object. The TSpeechRecognition component has a procedure called Listen which uses the TJRecognizerIntent Android object to listen and create guesses for what it hears. An IntentCallback event listens for the guesses and passes them to events in the TSpeechRecognition component where you can access them. There was another blog post from Embarcadero in late 2013 where a text to speech wrapper code was made available for Delphi XE5 Firemonkey and you can check that out here. These component should probably also work in AppMethod.

Head over and checkout the full blog post about speech recognition and text to speech on Android including slideshow for Delphi XE6 Firemonkey.

Or head straight to Github and download the text to speech and speech recognition components directly.