/talk-to-me-cordova

Cordova app for Android that demonstrates text-to-speech features

Primary LanguageJavaScriptMIT LicenseMIT

README.md

Overview

This is an Cordova application for Android that demonstrates text-to-speech features.

The design is taken from the MIT App Inventor app "Talk to Me" developed for the Hour of Code project (http://appinventor.mit.edu/explore/ai2/beginner-videos.html). This app allows the user to enter text into a text box. When the button is clicked, the text is spoken by the Android device and vibrates for two seconds.

The basic structure for the application is based on the HelloWorld4 application from John Wargo's book "Apache Cordova 3 Programming". The source code for that application is available on GitHub at https://github.com/johnwargo/cordova-programming-code/tree/master/chapter05/helloworld4

Prerequisites

Installation

The application should open on your device and show a text field and button.

You can click the button to speak the default phrase ("Hello world"). To enter a different phrase, tap in the text field and enter some text in the field. Do not enter any punctuation, this can keep the text from being read.

Here is a picture of the finished app:

This blog post also talks about the app.