This branch contains the files needed to build espeak on the android platform. It is derived from the eyes-free project.
To build eSpeak for Android, you need to have the following installed and configured correctly:
espeak-data
zip files)Build the libttsespeak.so
file by running:
$ ndk-build
Open Eclipse.
Create a new workspace.
Import the espeak folder as an exising Android project.
Build the espeak apk within Eclipse.
In order to build the espeak-data.zip
and espeak-data-en_only.zip
data files, you need to run the following commands:
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make android
The generated eSpeakActivity.apk
can be installed like any other apk build
via eclipse, such as by using the Run
menu option.
After running, eSpeakActivity
will download the espeak-data.zip
file. To
enable eSpeak, you need to:
Text-to-Speech settings
UI;eSpeak TTS
in the Engines
section;eSpeak TTS
as the default engine;Listen to an example
option to check if everything is working.