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

codeigniter - Fatal error: Call to undefined function lang() in CI Merchant using CardSave -

javascript - CasperJS/PhantomJS failing SSL handshakes on some sites even with --ssl-protocol=any -

python - Received unregistered task using Celery with Django -