ProgressDialog pd; // do something async // ... pd = ProgressDialog.show(m_context, null, "Processing, please wait ...”); // processing done pd.dismiss();
Toast.makeText(getApplicationContext(), "Processed", Toast.LENGTH_SHORT).show();