android - Keep tts speaking even if get call -
i made android application uses texttospeech , works fine. problem when receive call, texttospeech stops.
i use apps mine , continue speaking during received call. how can that? maybe using link async?
thanks!
what happens when receive call, app's activity onpause.
so should start background service activity , handle texttospeech there(the service).
so if activity paused, texttospeech continues doing work.
here: http://developer.android.com/reference/android/app/service.html
and useful tutorial on services: http://www.vogella.com/articles/androidservices/article.html
Comments
Post a Comment