Android: Executing My Asynctask Crashes App Immediately
I have the async task in my TabActivity, and although I have been using it before, it all of a sudden stopped. I must have changed something. I call new CallWebServiceAd().execute(
Solution 1:
Firstly, check, that your app is falling really in this app. Today I wasted an hour to find that the reason was really in the other activity.
Secondly, if it is in this app, put breakpoints in onCreate, onStart and onResume. If you don't have the two last, make them. So, you'll know exactly, when it is falling.
Thirdly, if you are coming into this activity from the other, put the same breakpoints in that second Activity into onStop, onDestroy and onPause.
Very probably, you'll see the solution. If not, come back, put more info in the question and let's think.
Post a Comment for "Android: Executing My Asynctask Crashes App Immediately"