Commit Graph
85 Commits
Author SHA1 Message Date
Reece H. Dunn ef40dee48c Don't use espeakSSML when synthesizing text as this causes problems for some text. 2013-03-13 12:34:42 +00:00
Reece H. Dunn 932907ddc6 Don't check in espeakdata.zip to version control every time it changes.
The espeakdata.zip file is a generated file that can be recreated
by running the `make android` command. It takes up ~ 900 Kb of space
and changes significantly every time it is built.
2013-03-03 12:25:23 +00:00
Reece H. Dunn 6594f081e6 eSpeak for Android 1.46.32 (rev: 10) 2013-02-12 13:25:12 +00:00
Reece H. Dunn 2c1c3c53bd espeakdata: add a default group to the fa_rules file so it compiles correctly 2013-02-12 13:11:23 +00:00
Reece H. Dunn 48fa803bc4 TtsService.java: ensure that the voice data is installed/upgraded correctly.
When using assistive technology like TalkBack and not accessing
either the eSpeak application or the Android TTS settings
directly, the voice data would previously not be installed/upgraded
correctly.

The approach here is to move the logic to onIsLanguageAvailable so
that if the espeak voice data is not installed or is upgradable
then trigger an install of the voice data and return
TextToSpeech.LANG_MISSING_DATA.
2013-02-12 12:21:34 +00:00
Reece H. Dunn 199029e97e TtsService.java: use the context from the TtsService object itself 2013-02-11 19:03:53 +00:00
Reece H. Dunn 9d0a23bb1c TtsService.java: also report TextToSpeech.LANG_MISSING_DATA if the base resources are not found or the data can be upgraded. 2013-02-11 01:00:06 +00:00
Reece H. Dunn 1e52512637 TtsService.java: report TextToSpeech.LANG_MISSING_DATA if the engine has not been initialized. 2013-02-11 00:49:10 +00:00
Reece H. Dunn a7bb3eb790 Make eSpeak-specific setting changes apply immediately.
This reverts commit 433a0a0455.

The issue here appears to be that the process the eSpeak commands are
processed from to generate the speech differs from the one used to
modify the settings. This appears to be enough to cause it to not
get the updated settings until the process is restarted.

Thanks to Peter Vagner for locating the cause.
2013-02-11 00:08:18 +00:00
Reece H. Dunn a7a810a009 CheckVoiceData.java: remove unused import statement. 2013-02-01 11:38:03 +00:00
Reece H. Dunn 7f6bfd929b TtsSettingsActivity.java: use PreferenceFragment on Honeycomb and later. 2013-02-01 11:35:48 +00:00
Reece H. Dunn 0c499c84e9 eSpeak for Android 1.46.31 (rev: 9) 2013-01-25 17:33:18 +00:00
Reece H. Dunn 3f5b5bb521 android: support the Aragonese and Farsi/Persian voices from 1.46.31 2013-01-25 17:14:27 +00:00
Reece H. Dunn 6edd17eb0c Add tests verifying that calling getSampleText does not change the apps locale. 2013-01-16 18:58:11 +00:00
Reece H. Dunn f455a466c3 Do not add a voice if the Locale assigns a blank ISO3 language code. 2013-01-16 18:42:33 +00:00
Reece H. Dunn df1adcfcfb Use zh-HK for Cantonese Chinese as Android does not properly support the yue language code. 2013-01-16 18:27:07 +00:00
Reece H. Dunn 920dc0ad0c Report the eSpeak version in the main activity. 2013-01-16 18:16:10 +00:00
Reece H. Dunn d455281ff5 Create a promo graphic. 2012-12-23 15:07:25 +00:00
Reece H. Dunn c386d46925 Remove the explicit 'Update voices' menu option now that this is done automatically. 2012-12-23 14:34:58 +00:00
Reece H. Dunn 1623f90b4f Exclude the MBROLA data files when building the espeakdata.zip file. 2012-12-23 14:28:53 +00:00
Reece H. Dunn 9f2293221d Support installing the voices if the voice data signature has changed. 2012-12-23 14:15:44 +00:00
Reece H. Dunn 16afab6349 Restrict the minimum Android version to 4.0 until the 2.2 code is working. 2012-12-23 13:23:18 +00:00
Reece H. Dunn e64fd4fa39 Fix displaying the error message on download failure. 2012-12-23 13:22:11 +00:00
Reece H. Dunn 7632a4cd4b feature graphic: fix the reference to the Tatarstan flag. 2012-12-23 00:12:26 +00:00
Reece H. Dunn 26b226c6da feature graphic design 2012-12-22 23:56:25 +00:00
Reece H. Dunn 03dfacef35 Android.mk: Factor out the ucd-tools files to make it easier to maintain. 2012-12-22 14:30:53 +00:00
Reece H. Dunn 68ec09ab57 Use the ucd-tools toupper/tolower APIs instead of the Android versions. 2012-12-22 10:08:42 +00:00
Reece H. Dunn 8bafda70e2 Use the new ucd-tools project for wide-character compatibility on Android. 2012-12-22 01:54:37 +00:00
Reece H. Dunn 0a37be30b2 Build a version of libttsespeak.so for the MIPS architecture. 2012-12-21 00:47:50 +00:00
Reece H. Dunn 2c20fe7e33 Application.mk: align the ':=' and remove commented out code 2012-12-20 20:23:24 +00:00
Reece H. Dunn 1b436168a1 eSpeakService.cpp: use 'delete' instead of 'free' to release memory allocated via 'new'. 2012-12-20 14:52:40 +00:00
Reece H. Dunn b6ef2a607d Make sure that error states take priority when reporting status messages. 2012-12-20 13:09:17 +00:00
Reece H. Dunn 33545918f1 Remove the 'Would you like to send an error report?' text from the error message as this is functionality not supported. 2012-12-19 16:43:26 +00:00
Reece H. Dunn 09b62785c1 Remove an unused import. 2012-12-19 16:21:12 +00:00
Reece H. Dunn 2564e75444 Display error messages in a status field instead of via dialogs. 2012-12-19 16:19:07 +00:00
Reece H. Dunn 2e40b92ad6 Use finsItem instead of getItem to avoid crashing on sub-API 14 devices. 2012-12-19 15:59:39 +00:00
Reece H. Dunn 55e58682ab Display a status message in the main UI instead of displaying a dialog if eSpeak is not the default engine. 2012-12-19 15:57:12 +00:00
Reece H. Dunn d92abbe342 Move the buttons to the options menu UI accessible via the menu button. 2012-12-19 15:20:03 +00:00
Reece H. Dunn 42aba8a20b Update the UI to use a preferences-style display for the information items (default voice and installed voices). 2012-12-19 14:52:46 +00:00
Reece H. Dunn eea0946e82 Ensure that the copyright notices are ordered latest to oldest. 2012-12-19 13:07:19 +00:00
Reece H. Dunn 3c05eeb9ed libs: add the hamcrest jar files needed to build the espeak tests 2012-12-18 21:27:50 +00:00
Reece H. Dunn beb82cb6fd eSpeakActivity: use the correct intent for launching the TTS settings on Android 3.x. 2012-12-18 21:09:09 +00:00
Reece H. Dunn 7dd1d66e4a Fix the shared object name for API 8 compatibility, with tests. 2012-12-18 19:25:09 +00:00
Reece H. Dunn dc4f85865d SpeechSynthesis: fix the getSampleText behaviour when passed Java-style locale codes. 2012-12-18 15:39:00 +00:00
Reece H. Dunn 2a3a1a0a81 Move the sample text logic into SpeechSynthesis.getSampleText and add test cases for it. 2012-12-18 14:38:57 +00:00
Reece H. Dunn 026110c64d CheckVoiceData: MODE_WORLD_READABLE is deprecated; use MODE_PRIVATE instead (the data is accessed via a Service). 2012-12-18 10:17:16 +00:00
Reece H. Dunn 55cb127db0 Revert "Fix exported activities/services/providers warning in the manifest."
This reverts commit a79fe17681.

Conflicts:
	android/AndroidManifest.xml

This is the actual commit that causes the permission problems noted in
issue #31.
2012-12-18 08:34:48 +00:00
Reece H. Dunn e8ac81e611 Revert "Revert "Update the package version to reflect the espeak version.""
This reverts commit 85594a9e8d.

The commit this reverted was the wrong commit. Therefore, undo the revert.
2012-12-18 08:30:44 +00:00
Reece H. Dunn 85594a9e8d Revert "Update the package version to reflect the espeak version."
This reverts commit 681f7475d3.

This commit is causing permission issues on a real device that is preventing
the service from loading (see issue #31).
2012-12-17 23:07:01 +00:00
Reece H. Dunn 0a69c19112 SpeechSynthesis.Voice.toString should report the language code (not the voice name), so the correct language name is displayed 2012-12-17 18:54:44 +00:00