Android - Which class to use to perform background logging?

Hi,

I'm coding an application that collects different android stats in the background and would like to know what is the best way to implement this, e.g.
- a thread started from an Activity
- a Service started from an Activity
- an AsyncTask started from an Activity

Thanks!
php-newbieAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
alexey_gusevConnect With a Mentor Commented:
I'd say AsyncTask or Service
0
All Courses

From novice to tech pro — start learning today.