Another use of AsyncTask is to know when several AsyncTasks have processed:
AsyncTask1 a1 = new AsyncTask();
AsyncTask1 a2 = new AsyncTask();
a1.execute();
a2.execute();
a1.get();
a2.get();
Log.d("Example", "a1 and a2 have both finished, you can now proceed");