The key on AsyncTask is that it is "async"hronic. You "launch it" and the
lines of code after that can't be sure it ended.
That's what onPostExecute is for. Google around to see how to send your
result back to your main thread. There are several tutorials about it.
Marina
On Sep 26, 2012 3:51 AM,
Hey there good forum people, I was hoping you could help me with a really
frustrating issue I am having...
Basically, I am using an AsyncTask to run code that connects to a URL,
which executes a PHP script, and then grabs the output. Within the
AsyncTask class I can get the information from the
2 matches
Mail list logo