Android AsyncTask case to freeze application on phone call received -


my android application communicate web services download , upload data using asynctask. if receive phone call during communication application hanged up, else every thing ok. how can handle issue. thanks

try use service these kinds of tasks, understanding happens better take @ android's activity life-cycle:

http://developer.android.com/training/basics/activity-lifecycle/


Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -