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

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -