i'd do this with an AsyncTask and use the progress reporting feature
to communicate state to the UI thread.
AsyncTask ftw!
OK I'm reading this page:
http://developer.android.com/guide/appendix/faq/commontasks.html#threading
The code is as in the example (see below). In my application, the
OK I should re-ask my question so its a bit more clearer.
in updateResultsInUI() it is updating the results obtained from the
doSomethingExpensive() which was calculated in the worker thread. Now
what if doSomethingExpensive() is run in a loop continuously and each
time it is executed I need to
Thanks for the tip! Reading on it now, and looks exactly like what I
wanted.
On Sep 17, 11:10 am, Jason Proctor jason.android.li...@gmail.com
wrote:
i'd do this with an AsyncTask and use the progress reporting feature
to communicate state to the UI thread.
AsyncTask ftw!
OK I'm reading
On Wed, Sep 16, 2009 at 6:15 PM, rukiman ruksh...@optushome.com.au wrote:
OK I should re-ask my question so its a bit more clearer.
in updateResultsInUI() it is updating the results obtained from the
doSomethingExpensive() which was calculated in the worker thread. Now
what if
4 matches
Mail list logo