You were never supposed to be using the UI thread (apps that were doing it were just written incorrectly).
Socket communication really has nothing to do with Android, which is why there isn't a sample. Instead you can google "java socket programming" and find a bit about it, Kris On Thu, Jan 31, 2013 at 4:04 PM, bob <[email protected]> wrote: > I was looking at the samples for Android, hoping to find an example of a TCP > Socket client. > > > However, I was unable to. I think it would be especially nice to have this > now that we shouldn't be using the UI thread. > > > Am I missing something or is there no such sample? > > > Thanks. > > > -- > -- > 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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

