Solved

Android - Which class to use to perform background logging?

Posted on 2011-09-05
1
202 Views
Last Modified: 2012-06-27
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!
0
Comment
Question by:php-newbie
1 Comment
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 500 total points
Comment Utility
I'd say AsyncTask or Service
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
If your app took Google’s lash recently, here are the 5 most likely reasons.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now