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

html - Cut text on left side inside button while centering -

java - Last square of 8x8 grid not drawn, using two nested FOR loops -

What design pattern is this code in Javascript? -