Re: [android-developers] Trying to start a thread dedicated to sending and receiving data

2010-04-07 Thread Frank Weiss
I think you're doing it the hard way, but maybe that's on purpose. The easy way is to use UrlConnection instead of sockets and use AsyncTask instead of creating threads by hand. AsyncTask uses a thread pool and makes it really easy to hook up actions and responses with the UI. Trying to get a respo

RE: [android-developers] Trying to start a thread dedicated to sending and receiving data

2010-04-07 Thread Tommy
Developers Subject: [android-developers] Trying to start a thread dedicated to sending and receiving data Hi, I have a main class activity that does the task of sending control to other activities on click of a button. I am also starting a thread in the main class. This thread basically sets up a

[android-developers] Trying to start a thread dedicated to sending and receiving data

2010-04-07 Thread raqz
Hi, I have a main class activity that does the task of sending control to other activities on click of a button. I am also starting a thread in the main class. This thread basically sets up a connection with the server and is active throughout the lifetime of the application. I have two functions