Reece H. Dunn
633b7a5673
eSpeakActivity: revert a workaround for the Parcel error from the eSpeak activity
9 years ago
Reece H. Dunn
135f852598
getTtsLanguage: workaround NPE in >= Lollipop.
When there is no TTS engine selected, mTts.getVoice() will throw
a NullPointerException. This is a workaround to cope with this bug
in Android.
10 years ago
Reece H. Dunn
3d2308e285
Use API 21.
10 years ago
Reece H. Dunn
66818b4e4a
eSpeakActivity: Register the receiver in onStart to avoid an IllegalArgumentEcception.
11 years ago
Reece H. Dunn
8f82baa646
Fix updating the number of installed voices after installing them within the activity.
11 years ago
Reece H. Dunn
72bfb4205f
eSpeakActivity: do not initiate an install of the voice data when the voice data is not installed
12 years ago
Reece H. Dunn
8bdb644285
eSpeakActivity: use the BROADCAST_LANGUAGES_UPDATED event to handle voice installation
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
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
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
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
123e55a39c
Relocate the package to com.reecedunn.espeak
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
Reece H. Dunn
9f2137a8ff
Add an 'Update voices' button to manually trigger an update.
12 years ago
Reece H. Dunn
fab65bd5db
eSpeakActivity: use a weak reference in the Handler to avoid memory leaks
12 years ago
Reece H. Dunn
aad02ea440
Clean up some easy to fix warnings in the Java code.
12 years ago
Reece H. Dunn
09ba97bdf8
eSpeakActivity: rework the main layout to provide a better L&F
12 years ago
Reece H. Dunn
507cb27df0
pull in the espeak activity sources from eyes-free
12 years ago