Step 3: Adding the TextToSpeech component

Goal:


Next we need to add a TextToSpeech component into our app.

This is a component that will do a lot of the hard work for us in this app. You’ll see how useful it is when we get to the programming portion.

Note, you will not see anything change on the phone itself; however you should see the TextToSpeech component on the right side in the components list.

This is because even though this component is on our phone, it isn’t actually visible anywhere.

You can also see it under the phone in an area labeled Non-visible components.

Steps:

  1. On the left side, click on Media.
  2. Drag in a TextToSpeech component anywhere into the phone.

Code:


Click to replay