Hello,

I'm developing a small app, which, among other things, will say the
caller ID when the phone is ringing. I know that Android is capable of
doing this itself, but at least on my phone I can not limit this
feature in a way that the caller ID is said when the wired headset is
attached only. I just don't want everybody to know who's calling me.

My problem is, as long as I don't plug in my headset my app is working
fine and says the caller ID during phone ring (the voice volume is a
bit low, though) but when the headset is plugged in it doesn't work
any more. The TextToSpeak.speak method is still called and returns
SUCCESS but no voice is audible.

The API call I use looks like this:

myTTS = new TextToSpeech(this, this);
int res=myTTS.speak(displayname , TextToSpeech.QUEUE_FLUSH, null);

where displayname is the resolved caller ID.

I don't know exactly if this is a Motorola (I'm developing on a
Motorola Defy, Android 2.1), an Android or an API issue. But maybe
someone can give me a hint or has experienced the same problem.
Currently I don't have access to another Android phone (besides the
simulator, which doesn't support TTS at all).

regards

Marten

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to