The GUI can only be updated in GUI main thread. So maybe you need a
handler to do this.

On May 19, 3:55 pm, 김병주 <[email protected]> wrote:
> I made a Dialog Class with it's view classI want to pop up the dialog when I
> got some packets  from network.
> so I made a Thread which parses packets
> and then I made if clause in Run() method
> There is no problem with parsing packet but when I enter "if clause" and
> call showDialog() I got Error message
>
> Is there anyone who knows how to  pop up a dialog from different thread?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to