Reece H. Dunn
7909431259
Theme: use a dark action bar
2014-10-30 16:34:36 +00:00
Reece H. Dunn
d4c6bc2549
Use the Holo Light theme.
2014-10-30 16:32:07 +00:00
Reece H. Dunn
c14cfbf912
SpeechSynthesis: test for and prevent duplicate voice entries
2014-10-30 16:07:49 +00:00
Reece H. Dunn
6fa2e34c7f
Revert "DownloadVoiceData: check the mkdir return value"
...
This reverts commit 6ac54860a1 .
This change was preventing the voice data from being installed.
2014-10-30 15:42:19 +00:00
Reece H. Dunn
1740026c1c
SpeechSynthesisTest: make mVoices a Map
2014-10-30 14:56:16 +00:00
Reece H. Dunn
58047cef67
[Android 5.0] TTS settings crashes on hye-arevmda
2014-10-30 14:23:58 +00:00
Reece H. Dunn
f4adda18b4
Voice: use the ISO3 language and country codes
...
The Android 5.0 Text-to-speech output settings dialog checks that
the languages from CheckVoiceData use the ISO3 language and
country codes. This change matches that expectation.
2014-10-30 14:16:43 +00:00
Reece H. Dunn
736986d609
TextToSpeechService: support SynthesisRequest.getVoiceName
2014-10-30 13:14:48 +00:00
Reece H. Dunn
1c0e4cfaa9
TextToSpeechService: use a HashMap for the voices.
...
This improves the performance of looking up a voice by name.
2014-10-30 12:56:06 +00:00
Reece H. Dunn
cfb2f9d3cb
Fix TextToSpeech,setLanguage on Android 5.0.
...
As of Android 5.0, TextToSpeech.setLanguage calls the new
TextToSpeechService.onGetDefaultVoiceNameFor(lang,country,variant)
and uses the specified voice name.
The default Android 5.0 implementation of onGetDefaultVoiceNameFor
does not work with eSpeak. This provides a working implementation.
This fixes the TextToSpeechTest.testLanguages tests on Android 5.0.
2014-10-30 12:28:32 +00:00
Reece H. Dunn
98208df155
TextToSpeechTest: provide more context information
2014-10-30 11:24:41 +00:00
Reece H. Dunn
dbb259056e
Add CheckVoiceData activity tests.
2014-10-30 09:30:01 +00:00
Reece H. Dunn
c9003c50ba
TextToSpeech: test and fix onIsValidVoiceName
2014-10-29 19:50:43 +00:00
Reece H. Dunn
daa9326eb2
TextToSpeechTest: languages with codes not supported by Android are not present
2014-10-29 19:18:41 +00:00
Reece H. Dunn
83326027bf
TextToSpeechTest: factor out the language checks
2014-10-29 19:17:26 +00:00
Reece H. Dunn
f9912e0c41
TtsService: fix and test onGetVoice.
...
The default Android 5.0 implementation enumerates the available
locales. This enumerates the voices returned by eSpeak.
2014-10-29 18:21:31 +00:00
Reece H. Dunn
702f8be24f
TextToSpeechTest: always test getLanguage.
...
This changes the getLanguage helper to return the result from
getLanguage on all platform versions, disabling the deprecated
message on API 21 and above.
2014-10-29 16:32:25 +00:00
Reece H. Dunn
7846e91089
TtsService: add wrappers for the new voice APIs.
...
This adds method declarations for the new voice APIs, forwarding
them to the default implementations.
2014-10-29 15:59:48 +00:00
Reece H. Dunn
d90e58f9cd
Fix deprecated SynthesisRequest.getText usage.
2014-10-29 15:34:20 +00:00
Reece H. Dunn
0dd897471c
tests: initial language may be null
2014-10-28 19:05:21 +00:00
Reece H. Dunn
3d2308e285
Use API 21.
2014-10-28 18:30:16 +00:00
Reece H. Dunn
6ac54860a1
DownloadVoiceData: check the mkdir return value
2014-10-28 17:32:16 +00:00
Reece H. Dunn
8fe359d0e4
Remove unused imports.
2014-10-28 16:47:32 +00:00
Reece H. Dunn
3eab09e166
tests: fix the expected string tests on Android 4
2014-10-28 16:28:55 +00:00
Reece H. Dunn
cc0341e799
tests: map TextToSpeech.LANG_* to strings.
...
This creates a custom hamcrest matcher that maps the TextToSpeech
LANG_* constants to strings. This makes it easier to read the
text output when the tests fail.
2014-10-28 16:11:51 +00:00
Reece H. Dunn
328f4cfdc9
Test and fix Java to IANA country code mapping.
2014-10-28 15:33:11 +00:00
Reece H. Dunn
6576742917
Test and fix Java to IANA language code mapping.
2014-10-28 15:23:53 +00:00
Reece H. Dunn
f68efe7224
tests: update the expected strings for Android 5.0
2014-10-28 14:54:09 +00:00
Reece H. Dunn
1cfb433438
tests: update the voice data
2014-10-28 13:05:27 +00:00
Reece H. Dunn
bc5e919663
build.gradle: update to the latest gradle plugin version
2014-10-27 16:45:26 +00:00
Reece H. Dunn
543223441d
Update to support the voice changes (ia, bn)
2014-08-09 16:15:34 +01:00
Reece H. Dunn
092318d4df
jni: avoid crashing when run on ART
...
The ART runtime is stricter about calling env->DeleteWeakGlobalRef
on an object/value that was not returned from env->NewWeakGlobalRef.
In that case, it triggers an abort which causes the application to
crash and display an "Application has stopped" dialog message.
2014-07-03 12:11:17 +01:00
Reece H. Dunn
9fbc01bed5
Use gradle plugin 0.12.+ (for Android Studio Beta).
2014-07-03 12:09:47 +01:00
Reece H. Dunn
42de2a5897
eSpeak for Android 1.48.05
2014-06-06 12:50:00 +01:00
Reece H. Dunn
aabf4602ca
Remove uses-sdk from AndroidMasnifest.xml (specified by gradle).
2014-06-01 16:33:09 +01:00
Reece H. Dunn
c1f3dd8ddc
Fix the tests after updating to 1.48.05.
2014-06-01 16:23:29 +01:00
Reece H. Dunn
d2c83b1096
build.gradle: fix building the tests
2014-06-01 16:14:09 +01:00
Reece H. Dunn
0008e7d7d1
ImportVoicePreference.java: fix a crash when no dictionaries are found
2014-05-26 16:41:52 +01:00
Reece H. Dunn
51da73921c
build.gradle: target SDK version 19
2014-05-26 16:14:38 +01:00
Reece H. Dunn
9defa140ce
Updated the Russian translations (translator: electrogramma)
2014-05-26 15:58:43 +01:00
Reece H. Dunn
e65a490eed
Updated the Catalan translations (translator: jmontane)
2014-05-26 15:58:10 +01:00
Reece H. Dunn
453d4a3792
build.gradle: update the build tools and gradle plugin
2014-05-26 15:51:03 +01:00
Reece H. Dunn
000ee52846
tests: support the new languages and translations
2014-02-27 14:06:42 +00:00
Reece H. Dunn
400f16e5cc
android: do not fail release build on lint issues
2014-02-27 13:07:10 +00:00
Reece H. Dunn
8a9fe95cce
Android Studio 0.4.* build fixes
2014-02-27 12:31:29 +00:00
Reece H. Dunn
e878b4e29b
Updated the Finnish resources (translator: artnay, jkinnunen)
2014-01-10 20:51:58 +00:00
Reece H. Dunn
0f913e4434
Updated the Indonesian resources (translator: viton sulistyono)
2013-12-12 18:09:05 +00:00
Reece H. Dunn
1cc6553388
Updated the German resources (translator: Simon Eigeldinger)
2013-10-30 18:22:08 +00:00
Reece H. Dunn
66818b4e4a
eSpeakActivity: Register the receiver in onStart to avoid an IllegalArgumentEcception.
2013-10-14 19:22:23 +01:00
Reece H. Dunn
2c593987cd
eSpeak for Android 1.47.12
2013-10-14 15:16:48 +01:00