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?

Improve company productivity with a Business Account.Sign Up

x
 
alexey_gusevConnect With a Mentor Commented:
I'd say AsyncTask or Service
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.