Hi,

I'm trying to understand the idea behind the Services.

If it runs in the program's thread, why not create just a separate
thread (or AsyncTask) to do the job?

Can a service keep running in the background? For example, i want to
create a task that will continuously be polling data from a server,
even if the main application is not running. Can this be achieved with
a Service?

thanks

    guich

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