Reece H. Dunn
31b2bf0c56
CheckVoiceData.java: don't check for any voices as they can change directory layout
12 years ago
Reece H. Dunn
4d44e88dd2
TtsService: support detecting SSML documents
12 years ago
Reece H. Dunn
1ac6d04c48
eSpeakActivity.java: support speaking specified text in the activity.
12 years ago
Reece H. Dunn
36b86799b3
eSpeakActivity.java: fix the 'X has leaked a ServiceConnection' error.
The TTS engine should be destroyed in the onStop method, not the
onDestroy method to prevent it being used in the stopped state.
12 years ago
Reece H. Dunn
c6cca792ee
Correctly handle the new vi-hue language.
12 years ago
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.
12 years ago
Reece H. Dunn
199029e97e
TtsService.java: use the context from the TtsService object itself
12 years ago
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.
12 years ago
Reece H. Dunn
1e52512637
TtsService.java: report TextToSpeech.LANG_MISSING_DATA if the engine has not been initialized.
12 years ago
Reece H. Dunn
a7a810a009
CheckVoiceData.java: remove unused import statement.
12 years ago
Reece H. Dunn
7f6bfd929b
TtsSettingsActivity.java: use PreferenceFragment on Honeycomb and later.
12 years ago
Reece H. Dunn
3f5b5bb521
android: support the Aragonese and Farsi/Persian voices from 1.46.31
12 years ago
Reece H. Dunn
f455a466c3
Do not add a voice if the Locale assigns a blank ISO3 language code.
12 years ago
Reece H. Dunn
df1adcfcfb
Use zh-HK for Cantonese Chinese as Android does not properly support the yue language code.
12 years ago
Reece H. Dunn
920dc0ad0c
Report the eSpeak version in the main activity.
12 years ago
Reece H. Dunn
c386d46925
Remove the explicit 'Update voices' menu option now that this is done automatically.
12 years ago
Reece H. Dunn
9f2293221d
Support installing the voices if the voice data signature has changed.
12 years ago
Reece H. Dunn
e64fd4fa39
Fix displaying the error message on download failure.
12 years ago
Reece H. Dunn
b6ef2a607d
Make sure that error states take priority when reporting status messages.
12 years ago
Reece H. Dunn
09b62785c1
Remove an unused import.
12 years ago
Reece H. Dunn
2564e75444
Display error messages in a status field instead of via dialogs.
12 years ago
Reece H. Dunn
2e40b92ad6
Use finsItem instead of getItem to avoid crashing on sub-API 14 devices.
12 years ago
Reece H. Dunn
55e58682ab
Display a status message in the main UI instead of displaying a dialog if eSpeak is not the default engine.
12 years ago
Reece H. Dunn
d92abbe342
Move the buttons to the options menu UI accessible via the menu button.
12 years ago
Reece H. Dunn
42aba8a20b
Update the UI to use a preferences-style display for the information items (default voice and installed voices).
12 years ago
Reece H. Dunn
eea0946e82
Ensure that the copyright notices are ordered latest to oldest.
12 years ago
Reece H. Dunn
beb82cb6fd
eSpeakActivity: use the correct intent for launching the TTS settings on Android 3.x.
12 years ago
Reece H. Dunn
7dd1d66e4a
Fix the shared object name for API 8 compatibility, with tests.
12 years ago
Reece H. Dunn
dc4f85865d
SpeechSynthesis: fix the getSampleText behaviour when passed Java-style locale codes.
12 years ago
Reece H. Dunn
2a3a1a0a81
Move the sample text logic into SpeechSynthesis.getSampleText and add test cases for it.
12 years ago
Reece H. Dunn
026110c64d
CheckVoiceData: MODE_WORLD_READABLE is deprecated; use MODE_PRIVATE instead (the data is accessed via a Service).
12 years ago
Reece H. Dunn
0a69c19112
SpeechSynthesis.Voice.toString should report the language code (not the voice name), so the correct language name is displayed
12 years ago
Reece H. Dunn
b5db940457
Note where the languages come from for language selection.
12 years ago
Reece H. Dunn
b9c0143a9b
Rename libttsespeak.so to libespeak.so.
12 years ago
Reece H. Dunn
7816a0a204
TtsService: set the language properties to the matched voice, not the requested voice
12 years ago
Reece H. Dunn
1a28553d4c
Add tests for the data returned by the SpeechSynthesis class, specifically the Voice locale entries.
12 years ago
Reece H. Dunn
123e55a39c
Relocate the package to com.reecedunn.espeak
12 years ago
Reece H. Dunn
8f2ea37c7a
Remove cleanup of the legacy directory as this port does not have a legacy directory; removes the need for the WRITE_EXTERNAL_STORAGE permission.
12 years ago
Reece H. Dunn
5998278dda
eSpeakActivity: don't report an error if mVoices is null, set the installed voices to 0.
12 years ago
Reece H. Dunn
e27a218592
onDataChecked may be called *after* onInitialized is called, in which case mVoices will be null; set the voice count in onDataChecked to avoid problems
12 years ago
Reece H. Dunn
e346c86cb7
Fix the 'leaked ServiceConnection' error.
12 years ago
Reece H. Dunn
df0f166fb4
Move the android sources to android/... to avoid polluting the APK when it is being built through eclipse
12 years ago