Browse Source

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

master
Reece H. Dunn 12 years ago
parent
commit
df0f166fb4
82 changed files with 9 additions and 6 deletions
  1. 2
    2
      Makefile.am
  2. 6
    3
      README.md
  3. 0
    0
      android/.classpath
  4. 0
    0
      android/.project
  5. 0
    0
      android/AndroidManifest.xml
  6. 1
    1
      android/jni/Android.mk
  7. 0
    0
      android/jni/Application.mk
  8. 0
    0
      android/jni/include/Log.h
  9. 0
    0
      android/jni/include/TtsEngine.h
  10. 0
    0
      android/jni/jni/com_google_espeakengine.cpp
  11. 0
    0
      android/jni/jni/com_googlecode_eyesfree_espeak_eSpeakService.cpp
  12. 0
    0
      android/project.properties
  13. 0
    0
      android/res/drawable-hdpi/ic_sysbar_quicksettings.png
  14. 0
    0
      android/res/drawable-hdpi/ic_volume.png
  15. 0
    0
      android/res/drawable-hdpi/ic_volume_bluetooth_ad2p.png
  16. 0
    0
      android/res/drawable-hdpi/ic_volume_bluetooth_in_call.png
  17. 0
    0
      android/res/drawable-hdpi/ic_volume_small.png
  18. 0
    0
      android/res/drawable-hdpi/icon.png
  19. 0
    0
      android/res/drawable-hdpi/stat_sys_tether_bluetooth.png
  20. 0
    0
      android/res/drawable/icon.png
  21. 0
    0
      android/res/layout/download_voice_data.xml
  22. 0
    0
      android/res/layout/main.xml
  23. 0
    0
      android/res/raw/espeakdata.zip
  24. 0
    0
      android/res/values-af/strings.xml
  25. 0
    0
      android/res/values-am/strings.xml
  26. 0
    0
      android/res/values-ar/strings.xml
  27. 0
    0
      android/res/values-bg/strings.xml
  28. 0
    0
      android/res/values-ca/strings.xml
  29. 0
    0
      android/res/values-cs/strings.xml
  30. 0
    0
      android/res/values-da/strings.xml
  31. 0
    0
      android/res/values-de/strings.xml
  32. 0
    0
      android/res/values-el/strings.xml
  33. 0
    0
      android/res/values-en-rGB/strings.xml
  34. 0
    0
      android/res/values-es-rUS/strings.xml
  35. 0
    0
      android/res/values-es/strings.xml
  36. 0
    0
      android/res/values-fa/strings.xml
  37. 0
    0
      android/res/values-fi/strings.xml
  38. 0
    0
      android/res/values-fr/strings.xml
  39. 0
    0
      android/res/values-hi/strings.xml
  40. 0
    0
      android/res/values-hr/strings.xml
  41. 0
    0
      android/res/values-hu/strings.xml
  42. 0
    0
      android/res/values-in/strings.xml
  43. 0
    0
      android/res/values-it/strings.xml
  44. 0
    0
      android/res/values-iw/strings.xml
  45. 0
    0
      android/res/values-ja/strings.xml
  46. 0
    0
      android/res/values-ko/strings.xml
  47. 0
    0
      android/res/values-lt/strings.xml
  48. 0
    0
      android/res/values-lv/strings.xml
  49. 0
    0
      android/res/values-ms/strings.xml
  50. 0
    0
      android/res/values-nb/strings.xml
  51. 0
    0
      android/res/values-nl/strings.xml
  52. 0
    0
      android/res/values-pl/strings.xml
  53. 0
    0
      android/res/values-pt-rPT/strings.xml
  54. 0
    0
      android/res/values-pt/strings.xml
  55. 0
    0
      android/res/values-ro/strings.xml
  56. 0
    0
      android/res/values-ru/strings.xml
  57. 0
    0
      android/res/values-sk/strings.xml
  58. 0
    0
      android/res/values-sl/strings.xml
  59. 0
    0
      android/res/values-sr/strings.xml
  60. 0
    0
      android/res/values-sv/strings.xml
  61. 0
    0
      android/res/values-sw/strings.xml
  62. 0
    0
      android/res/values-th/strings.xml
  63. 0
    0
      android/res/values-tl/strings.xml
  64. 0
    0
      android/res/values-tr/strings.xml
  65. 0
    0
      android/res/values-uk/strings.xml
  66. 0
    0
      android/res/values-vi/strings.xml
  67. 0
    0
      android/res/values-zh-rCN/strings.xml
  68. 0
    0
      android/res/values-zh-rTW/strings.xml
  69. 0
    0
      android/res/values-zu/strings.xml
  70. 0
    0
      android/res/values/donottranslate.xml
  71. 0
    0
      android/res/values/strings.xml
  72. 0
    0
      android/res/xml/preferences.xml
  73. 0
    0
      android/res/xml/tts_engine.xml
  74. 0
    0
      android/src/com/googlecode/eyesfree/espeak/CheckVoiceData.java
  75. 0
    0
      android/src/com/googlecode/eyesfree/espeak/DownloadVoiceData.java
  76. 0
    0
      android/src/com/googlecode/eyesfree/espeak/GetSampleText.java
  77. 0
    0
      android/src/com/googlecode/eyesfree/espeak/SpeechSynthesis.java
  78. 0
    0
      android/src/com/googlecode/eyesfree/espeak/TtsService.java
  79. 0
    0
      android/src/com/googlecode/eyesfree/espeak/TtsSettingsActivity.java
  80. 0
    0
      android/src/com/googlecode/eyesfree/espeak/eSpeak.java
  81. 0
    0
      android/src/com/googlecode/eyesfree/espeak/eSpeakActivity.java
  82. 0
    0
      android/src/com/googlecode/eyesfree/espeak/providers/SettingsProvider.java

+ 2
- 2
Makefile.am View File

@@ -125,14 +125,14 @@ espeak-data/phontab: src/espeakedit espeak-data/dir.stamp espeak-data/dictsource

##### android language data packs:

res/raw/espeakdata.zip: espeak-data/dir.stamp espeak-data/phontab dictionaries
android/res/raw/espeakdata.zip: espeak-data/dir.stamp espeak-data/phontab dictionaries
rm -f $@
zip -r $@ \
espeak-data/intonations \
espeak-data/phondata espeak-data/phonindex espeak-data/phontab \
espeak-data/*_dict espeak-data/voices

android: res/raw/espeakdata.zip
android: android/res/raw/espeakdata.zip

##### dictionaries:


+ 6
- 3
README.md 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;

.classpath → android/.classpath View File


.project → android/.project View File


AndroidManifest.xml → android/AndroidManifest.xml View File


jni/Android.mk → android/jni/Android.mk View File

@@ -20,7 +20,7 @@ BLACKLIST_SRC_FILES := \
%/voicedlg.cpp \
%/vowelchart.cpp

ESPEAK_SRC_PATH := ../src
ESPEAK_SRC_PATH := ../../src

ESPEAK_SRC_FILES := \
$(subst $(LOCAL_PATH)/$(ESPEAK_SRC_PATH),$(ESPEAK_SRC_PATH),$(wildcard $(LOCAL_PATH)/$(ESPEAK_SRC_PATH)/*.c*))

jni/Application.mk → android/jni/Application.mk View File


jni/include/Log.h → android/jni/include/Log.h View File


jni/include/TtsEngine.h → android/jni/include/TtsEngine.h View File


jni/jni/com_google_espeakengine.cpp → android/jni/jni/com_google_espeakengine.cpp View File


jni/jni/com_googlecode_eyesfree_espeak_eSpeakService.cpp → android/jni/jni/com_googlecode_eyesfree_espeak_eSpeakService.cpp View File


project.properties → android/project.properties View File


res/drawable-hdpi/ic_sysbar_quicksettings.png → android/res/drawable-hdpi/ic_sysbar_quicksettings.png View File


res/drawable-hdpi/ic_volume.png → android/res/drawable-hdpi/ic_volume.png View File


res/drawable-hdpi/ic_volume_bluetooth_ad2p.png → android/res/drawable-hdpi/ic_volume_bluetooth_ad2p.png View File


res/drawable-hdpi/ic_volume_bluetooth_in_call.png → android/res/drawable-hdpi/ic_volume_bluetooth_in_call.png View File


res/drawable-hdpi/ic_volume_small.png → android/res/drawable-hdpi/ic_volume_small.png View File


res/drawable-hdpi/icon.png → android/res/drawable-hdpi/icon.png View File


res/drawable-hdpi/stat_sys_tether_bluetooth.png → android/res/drawable-hdpi/stat_sys_tether_bluetooth.png View File


res/drawable/icon.png → android/res/drawable/icon.png View File


res/layout/download_voice_data.xml → android/res/layout/download_voice_data.xml View File


res/layout/main.xml → android/res/layout/main.xml View File


res/raw/espeakdata.zip → android/res/raw/espeakdata.zip View File


res/values-af/strings.xml → android/res/values-af/strings.xml View File


res/values-am/strings.xml → android/res/values-am/strings.xml View File


res/values-ar/strings.xml → android/res/values-ar/strings.xml View File


res/values-bg/strings.xml → android/res/values-bg/strings.xml View File


res/values-ca/strings.xml → android/res/values-ca/strings.xml View File


res/values-cs/strings.xml → android/res/values-cs/strings.xml View File


res/values-da/strings.xml → android/res/values-da/strings.xml View File


res/values-de/strings.xml → android/res/values-de/strings.xml View File


res/values-el/strings.xml → android/res/values-el/strings.xml View File


res/values-en-rGB/strings.xml → android/res/values-en-rGB/strings.xml View File


res/values-es-rUS/strings.xml → android/res/values-es-rUS/strings.xml View File


res/values-es/strings.xml → android/res/values-es/strings.xml View File


res/values-fa/strings.xml → android/res/values-fa/strings.xml View File


res/values-fi/strings.xml → android/res/values-fi/strings.xml View File


res/values-fr/strings.xml → android/res/values-fr/strings.xml View File


res/values-hi/strings.xml → android/res/values-hi/strings.xml View File


res/values-hr/strings.xml → android/res/values-hr/strings.xml View File


res/values-hu/strings.xml → android/res/values-hu/strings.xml View File


res/values-in/strings.xml → android/res/values-in/strings.xml View File


res/values-it/strings.xml → android/res/values-it/strings.xml View File


res/values-iw/strings.xml → android/res/values-iw/strings.xml View File


res/values-ja/strings.xml → android/res/values-ja/strings.xml View File


res/values-ko/strings.xml → android/res/values-ko/strings.xml View File


res/values-lt/strings.xml → android/res/values-lt/strings.xml View File


res/values-lv/strings.xml → android/res/values-lv/strings.xml View File


res/values-ms/strings.xml → android/res/values-ms/strings.xml View File


res/values-nb/strings.xml → android/res/values-nb/strings.xml View File


res/values-nl/strings.xml → android/res/values-nl/strings.xml View File


res/values-pl/strings.xml → android/res/values-pl/strings.xml View File


res/values-pt-rPT/strings.xml → android/res/values-pt-rPT/strings.xml View File


res/values-pt/strings.xml → android/res/values-pt/strings.xml View File


res/values-ro/strings.xml → android/res/values-ro/strings.xml View File


res/values-ru/strings.xml → android/res/values-ru/strings.xml View File


res/values-sk/strings.xml → android/res/values-sk/strings.xml View File


res/values-sl/strings.xml → android/res/values-sl/strings.xml View File


res/values-sr/strings.xml → android/res/values-sr/strings.xml View File


res/values-sv/strings.xml → android/res/values-sv/strings.xml View File


res/values-sw/strings.xml → android/res/values-sw/strings.xml View File


res/values-th/strings.xml → android/res/values-th/strings.xml View File


res/values-tl/strings.xml → android/res/values-tl/strings.xml View File


res/values-tr/strings.xml → android/res/values-tr/strings.xml View File


res/values-uk/strings.xml → android/res/values-uk/strings.xml View File


res/values-vi/strings.xml → android/res/values-vi/strings.xml View File


res/values-zh-rCN/strings.xml → android/res/values-zh-rCN/strings.xml View File


res/values-zh-rTW/strings.xml → android/res/values-zh-rTW/strings.xml View File


res/values-zu/strings.xml → android/res/values-zu/strings.xml View File


res/values/donottranslate.xml → android/res/values/donottranslate.xml View File


res/values/strings.xml → android/res/values/strings.xml View File


res/xml/preferences.xml → android/res/xml/preferences.xml View File


res/xml/tts_engine.xml → android/res/xml/tts_engine.xml View File


src/com/googlecode/eyesfree/espeak/CheckVoiceData.java → android/src/com/googlecode/eyesfree/espeak/CheckVoiceData.java View File


src/com/googlecode/eyesfree/espeak/DownloadVoiceData.java → android/src/com/googlecode/eyesfree/espeak/DownloadVoiceData.java View File


src/com/googlecode/eyesfree/espeak/GetSampleText.java → android/src/com/googlecode/eyesfree/espeak/GetSampleText.java View File


src/com/googlecode/eyesfree/espeak/SpeechSynthesis.java → android/src/com/googlecode/eyesfree/espeak/SpeechSynthesis.java View File


src/com/googlecode/eyesfree/espeak/TtsService.java → android/src/com/googlecode/eyesfree/espeak/TtsService.java View File


src/com/googlecode/eyesfree/espeak/TtsSettingsActivity.java → android/src/com/googlecode/eyesfree/espeak/TtsSettingsActivity.java View File


src/com/googlecode/eyesfree/espeak/eSpeak.java → android/src/com/googlecode/eyesfree/espeak/eSpeak.java View File


src/com/googlecode/eyesfree/espeak/eSpeakActivity.java → android/src/com/googlecode/eyesfree/espeak/eSpeakActivity.java View File


src/com/googlecode/eyesfree/espeak/providers/SettingsProvider.java → android/src/com/googlecode/eyesfree/espeak/providers/SettingsProvider.java View File


Loading…
Cancel
Save