Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Android - Which class to use to perform background logging?

Posted on 2011-09-05
1
Medium Priority
?
212 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 2000 total points
ID: 36486674
I'd say AsyncTask or Service
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
This is an explanation of a simple data model to help parse a JSON feed
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.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

927 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