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

mysqli - Php Mysqli_fetch_assoc Error : "Warning: Illegal string offset 'name' in" -

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

php - Hide Categories from WordPress Dashboard by ID and Custom Post Type -