Android Port of eSpeak Text-to-Speech
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:
- Android SDK
- Android NDK
- Android Developer Tools (ADT) for Eclipse
- wxWidgets 2.8 (for espeakedit when building
Fetching the Sources
The Android port uses the
ucd-tools submodule. You can fetch this by running:
$ git submodule init $ git submodule update
libttsespeak.sofile by running:
$ cd android $ ndk-build
android/res/raw/espeakdata.zipfile by running:
$ ./autogen.sh $ ./configure --prefix=/usr $ make android
- Open Eclipse.
- Create a new workspace.
- Import the espeak folder as an exising Android project.
- Build the espeak apk within Eclipse.
eSpeakActivity.apk can be installed like any other apk build
via eclipse, such as by using the
Run menu option.
eSpeakActivity will extract the
espeakdata.zip file into its
own data directory to set up the available voices.
To enable eSpeak, you need to:
- go into the Android
eSpeak TTSin the
eSpeak TTSas the default engine;
- use the
Listen to an exampleoption to check if everything is working.