Say Anything

Project Description:

Say Anything extends the Say Hello, Good Bye project. A TextBox is used to enter text, so it can be said by the TextToSpeech component.

Screen Arrangement  and text input are introduced.

Start Building

Add the components and make the appropriate adjustment of their properties.
lblinstructions displays the phrase "Enter Text into the textbox and touch Say It" on the screen.

txtAnything  is used for text input

buttonRow is used to arrange the two buttons in one row

btnSayIt will call the method to convert the text in txtAnything to speech.

btnClear will clear the txtAnything TextBox

tts is the TextToSpeech component that will convert the text to speech

Add the code:

The "phone" should look similar to: