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 - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -