>>425
UIスレッド以外から画面操作したい時。
AsyncTaskのリファレンスくらい読め。

onPreExecuteはUIスレッド
doInBackgroundは非UIスレッド
 (onProgressUpdateはUIスレッド)
onPostExecuteはUIスレッド