Page 109 - iprime_V2.2_class8
P. 109
Step 2 Click and hold the call TextToSpeech1.Speak message block.
Step 3 Drag it over to the workspace and drop it over the when Talking_Me.Click do block.
This block will execute when the button on our app is clicked and make our phone speak.
Enter Message in the Text block
To enter message in the Text Block, follow the given steps:
Step 1 Click on Text component.
Step 2 Drag and drop message block on call TextToSpeech1.Speak message block.
Step 3 Type the message within the message block.
Test Your App
To test your app, go to the connected device or Emulator and click on the button. Your phone
will read the phrase aloud. Keep the volume of your phone/laptop high.
App Development 107

