Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
同期用に定義されたContentProvidedはダミーです(このアプローチに従って)。
API> 8の場合(デバイスの95%)はContentResolver.addPeriodicSync()
ContentResolver.addPeriodicSync()
API = 7の場合(2102年3月現在のデバイスの5.5%)、定期的なタイマーコールバックを使用してサービスを作成し、を呼び出しますContentResolver.requestSync()。
ContentResolver.requestSync()
API <6はsyncAdapterをサポートしていないため、心配する必要はありません。