Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it Talk! #5

Open
cesine opened this issue Feb 26, 2013 · 0 comments
Open

Make it Talk! #5

cesine opened this issue Feb 26, 2013 · 0 comments

Comments

@cesine
Copy link
Member

cesine commented Feb 26, 2013

New lets try to make the Android talk (in its local language).

cesine added a commit that referenced this issue Feb 26, 2013
To do this is super simple, this commit shows how to
* add a new package 'practice'
* add another Java Class  (an Android Activity to be precise), how to implement the hooks you need to safely initialize the text to speech engine, and make it talk in the language of the user (hard coded strings in the java). In the next commit you will see how to localize strings in Android.
* add the MakeItTalk activity to the Manifest, and make it as teh default launcher when the app opens.
* (note the package name prefix on MakeItTalk, because it is not in the same package as the app, its in a sub directory)

To see what this step in the tutorial looks like on an andriod, install the MakeItTalk.apk in this commit.
cesine added a commit that referenced this issue Feb 26, 2013
Localizing in Android is really easy, see the changes in this commit to see how you can move localization boilerplate out of your java and into the xml. Android will play the english 'my_first_words' if it doesn't have a string for the user's locale.
cesine added a commit to batumi/UpAndRunningWithAndroid that referenced this issue Feb 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant