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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

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