I run two Async tasks in one block of code, and the doInBackGround parts of both tasks run simultaneously, which causes problems. According to the article below in android 1.5, Async Tasks were automatically executed in order of execution, but this feature was removed for Android 1.6. All Async Task queing resources I found supporters using threadPool, but this is only available for Honey Comb. Any suggestions on the right way to solve this problem?
Article parallel execution AsyncTask
AsyncTask.get() , - :
myAsyncTask1.execute(); myAsyncTask1.get(); myAsyncTask2.execute();
, 2- AsyncTask 1- , , AsyncTask.get(), , , , , ANR.