Android sync adapter example http://www.codexpedia.com/android/android-scheduled-tasks-using-syncadapter/