I have tasks completed by AsyncTask in background. At some point I need to issue a Toast that something is completed.
I\'ve tried and I failed because Caused
Caused
you can Toast inside doInBackground
add this code where you want to Toast appear
runOnUiThread(new Runnable() { public void run() { Toast.makeText(.this, "Cool Ha?", Toast.LENGTH_SHORT).show(); } });