July 2018
Intermediate to advanced
462 pages
12h 2m
English
An object called app is created by invoking the Android() method of the android module. A message, Let us count from 1 to 10 is passed to the ttsSpeak() method. The ttsSpeak() method will invoke the speech synthesis application in the phone, which generates the spoken version of the supplied text. So, you get to hear "let us count from 1 to 10". After that, a loop is run from integer value 1 to 10 and each value in the loop is sent to the ttsSpeak() method. Consequently, your mobile will speak the numbers from 1 to 10.
Read now
Unlock full access