Texttospeech.setenginebypackagename() Doesn't Set Anything
Following the tip in this answer, I placed a call to setEngineByPackageName right in onActivityResult(), when requestCode == REQ_TTS_STATUS_CHECK && TextToSpeech.Engine.CHE
Solution 1:
You say that you placed the call to setEngineByPackageName in onActivityResult()
. This is the wrong place to do this.
setEngineByPackageName, just like getDefaultEngine, must not be called before reaching onInit()
.
Post a Comment for "Texttospeech.setenginebypackagename() Doesn't Set Anything"