On Tue, Feb 16, 2010 at 11:45 AM, Shekhar <[email protected]> wrote:

> Now the service running in the background has to pass data to the
> activity continously for UI updates.
>

You have a background service and an Activity running at the same time? Why?
If you're trying to background work that will effect the UI of your main
activity, just do it in a separate thread or use AsyncTask and post the
changes to the UI. It doesn't sound like you need a Service in this case,
unless I'm not fully getting the purpose of your app.

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

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