I am trying to display the dialog,but something is wrong when I do
it.I use a timer to do something. I want to use a dialog to let the
user konw, when the dialog is end.
seekTask = new TimerTask()
......
seekTask.cancel();
new AlertDialog.Builder(mContext)
.setTitle(R.string.seek_task_end)
.setPositiveButton(R.string.btn_ok, new
DialogInterface.OnClickListener()
{
public void onClick(DialogInterface d, int which)
{
d.dismiss();
}
})
.show();
//Log.i("tag","message") the log could not display.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---