Creating an app that has an option to get location information even when it's not running
<p>What's the best way to create an app that periodically gets location (via the GPS or cell towers, or whatever) even when the app isn't running?</p>

<p>The first idea I had is to use the AlarmManager to wake up at a specified interval and check.  I'm wondering if there's a more specific API to use.</p>
