Dianne,

Thank you for your quick answer!

> Um.  Don't do that.  AsyncTask and Looper are two fundamentally different
> threading models, which are not compatible.

I will assume not compatible means not possible for now and will try
to figure out why later (time permitting).

> If you want a thread running a looper, use HandlerThread.

Although I didnt know about HandlerThread, I have already extended
Thread basically like HandlerThread does (aside from setting
priorities). From now on I will use HandlerThread however, for sake of
conforming to APIs.

I would have preferred using AsyncTask only because its GUI callbacks
(onProgressUpdate(), etc.) are sooo convenient/easy to read. Kudos to
whoever came up with it.

Cheers,

-szabolcs

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to