Aman Systematix
Aman Systematix

Reputation: 347

How do I create an Android application to convert Text to Speech?

![enter image description here][1]I am working an Android application where I am using both a text to speech conversion and speech recognition elements. However, when I give a repeat instruction or press a repeat button in order to start tts to speak , it throws these warnings:

**speak failed: not bound to TTS engine**

**stop failed: not bound to TTS engine**

What do I need to do for this to work?

Upvotes: 0

Views: 258

Answers (1)

Hoan Nguyen
Hoan Nguyen

Reputation: 18151

You have to make sure that you call speak only after onInit is called.

Upvotes: 2

Related Questions