title: Sync in Android sqlite and sql server (crud operation) in two ways
body: <p>I am developing an android application which have</p>
  <ul>
  <li><p>sq lite db on my device</p>
  </li>
  <li><p>server sql db on main server which sync them, with two identical<br />
  (same fields structure and fields name)</p>
  </li>
  <li><p>i need to develop synchronization between these db in 2 ways</p>
  </li>
  <li><p>If I change database data in Android then It will change data on web server</p>
  </li>
  <li><p>when i change data from sever then it should change data in android</p>
  </li>
  <li><p>sync will run in 1 day automatically</p>
  <p>now the question is How do I sync those databases in Android?
  as i am newly entered in mobile world and i am internee also and they give said if i will done this work then i will be permanent.</p>
  </li>
  </ul>
  <p>found several things but i am at beginners level.
  i don't find any samples. i have found similar questions here but does not find any code , any sample which only sync data on 2 way.</p>
  <p>i will appreciate if some one will give me (open source project) or some sample code with some explanation.</p>
  <p>or something like that which will show me a way to do this.</p>
  <p><a href="https://stackoverflow.com/questions/6511402/how-to-sync-sqlite-database-on-android-phone-with-mysql-database-on-server">How to sync SQLite database on Android phone with MySQL database on server?</a></p>
  <p><a href="https://stackoverflow.com/questions/6500649/android-bi-directional-sqlite-database-synchronization?rq=1">Android bi-directional sqlite database synchronization</a></p>
  <p>i have found these article but does not help me.</p>