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
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
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
3 matches
Mail list logo