Tuesday, August 31, 2010

[android-developers] Use of Service component?

Service Component is used to do some task which can be done without
user interaction. But for that we have to run a thread in subclass of
the Service.
I think we can create a thread in Activity class itself then what is
the use of Service component?
Why don't we create another thread and write the non interacting code
in this thread.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate