Services obviously don't run on the UI thread. It runs in the background. However, Services have their own lifecycle, and can be easily managed by applications. You can think of Services as an extension of threads, in the sense that both of them do not run on the UI thread.
Thanks and Regards, Kumar Bibek On Jun 13, 7:47 pm, skink <psk...@gmail.com> wrote: > On Jun 13, 11:46 am, "tarek.attia" <tarek.m.at...@gmail.com> wrote: > > > Hi all, > > > I have a question what to Use ,Service Or Thread,as both run in the > > background > > no, services run in the UI thread > > pskink -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en