alertbox in android -
alertdialog.builder alt_bld = new alertdialog.builder(this);
when wrote error shawn that
the constructor alertdialog.builder(new runnable(){}) undefined
.. tell me m do...
are trying run dialog runnable? cannot pass runnable context. should replace "this" youractivityclassname.this in order pass activity's context constructor.
if construction within thread, guess it's kinda wrong, cause shound't perform ui operations different threads. should use handlers pass messages main activity.. may wrong though, cause don't see whole code
Comments
Post a Comment