On Mon, Aug 9, 2010 at 6:06 AM, Samuh <[email protected]> wrote:

> How do I avoid this?


Um ... run your helper class on the UI thread?

Why is your Service starting a Runnable that will just turn around and start
an AsynTask? That's pretty much the point of AsyncTask - to avoid doing your
own threading. Just call performTask when your Service starts.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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