Move the android sources to android/... to avoid polluting the APK when it is being built through eclipse

This commit is contained in:
Reece H. Dunn
2012-12-13 14:05:26 +00:00
parent 7afbbf57d5
commit df0f166fb4
82 changed files with 9 additions and 6 deletions
+6 -3
View File
@@ -18,13 +18,14 @@ configured correctly:
1. Build the `libttsespeak.so` file by running:
$ cd android
$ ndk-build
2. Open Eclipse.
3. Create a new workspace.
4. Import the espeak folder as an exising Android project.
5. 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:
In order to build the `espeakdata.zip` file in `android/res/raw`, you need to run the following commands:
$ ./autogen.sh
$ ./configure --prefix=/usr
@@ -35,8 +36,10 @@ In order to build the `espeak-data.zip` and `espeak-data-en_only.zip` data files
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:
After running, `eSpeakActivity` will extract the `espeakdata.zip` file into its
own data directory to set up the available voices.
To enable eSpeak, you need to:
1. go into the Android `Text-to-Speech settings` UI;
2. enable `eSpeak TTS` in the `Engines` section;