title: Using TYPE_STEP_COUNTER in a background service?
body: <p>I'm looking at implementing the step sensor API introduced in Android 4.4 (<a href="http://youtu.be/yv9jskPvLUc" rel="noreferrer">http://youtu.be/yv9jskPvLUc</a>). However, I am unable to find a clear explanation on what the recommended way to monitor this in the background is? It seems like most examples only show how to do this with an activity while the app is running. I don't particularly need a high frequency of updates - I basically want to log the amount of steps the user has walked every hour to a backend service.
  Should I just spin up a background service that calls registerListener on SensorManager, or is there a more elegant way? </p>