title: Best approach to upload/sync data to server?
body: <p><strong>The Scenario:</strong> My App has many activities. At the end the user uploads his all data in just one click. </p>
  
  <p><strong>The Problem:</strong> A problem might arise if the user is on the move and goes out of service(internet service / poor connectivity), then he/she couldn't upload the data. </p>
  
  <p>In this context I want to know what might be a <strong>best efficient approach.</strong></p>
  
  <p>I have thought of one approach. If due to poor connectivity / no service I will save the data locally in SQLite. Keep a thread alive when user opens the App next time to check if service/connectivity available. If yes, it will be uploaded instantly.  </p>
  
  <p>I will be eagerly waiting for your comments.</p>