On iOS: https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVSpeechSynthesizer_Ref/
On Android: http://developer.android.com/reference/android/speech/tts/TextToSpeech.html