best way to implement location update service
<p>I would like to develop application - service - that update user location to server, say, every 1 hour.</p>

<p>I understood from Android docs that I have to use ,Android Services, and I have to do the work on the - onStartCommand() -</p>

<p>But since I need to keep sending these loaction update every 1 hour, than, I need to run infinite loop inside onStartCommand() ... right?</p>

<p>Now, my question is:</p>

<ul>
<li><p>what will happen if system kill the service, I know my service will get started, but would it call onStartCommand() also?</p></li>
<li><p>is there a better way to implement location update, like for example, is it possible that the system call onStartCommand() method periodically every 1 hour? </p></li>
</ul>
