1

My android app got rejected by Amazon because of this reason.

I have this TextToSpeech playing while the phone call come in. They wanted me to stop playing. How do I do that?

4

1 回答 1

2

在为 PhoneStateListener 实现 TextToSpeech 注册的服务或活动中,以及在 onCallStateChanged 中的 PhoneStateListener 中,为 state = TelephonyManager.CALL_STATE_RINGING 调用 TextToSpeech 类 stop() 方法。

于 2013-04-26T23:06:13.243 回答