Sync Offline DB With DB On Server
<p>Hi I was wondering how you'd approach solving the following problem when developing for android:</p>

<ol>
<li>The app checks whether the user has an internet connection</li>
<li>if there is no connection the app stores the current data in the localdb</li>
<li>once an internet connection is established it then syncs with a webservice</li>
</ol>

<p>I'm just not too familiar with that check and the process of when I could sync etc
Cheers</p>
