Start by using AsyncTask, it's an easy way to get most of it right. Then as
you learn more about how to use thread in Android, you can improve on that
as necessary.

-- Kostya

2011/5/25 ingy abbas <[email protected]>

> SO how to solve it !!
>
> On May 25, 3:18 pm, Kostya Vasilyev <[email protected]> wrote:
> > Don't run networking code on the UI thread.
> >
> > http://developer.android.com/guide/topics/fundamentals/processes-and-...
> >
> > -- Kostya
> >
> > 25.05.2011 17:12, ingy abbas пишет:
> >
> > > 05-25 15:10:04.049: ERROR/ActivityManager(175): ANR in Demo.Chat
> > > (Demo.Chat/.Client)
> >
> > --
> > Kostya Vasilyev --http://kmansoft.wordpress.com
>
> --
> 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
>

-- 
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