If you are using 2.2 / api level 8 you could use

http://developer.android.com/reference/android/content/ContentResolver.html#addPeriodicSync(android.accounts.Account,%20java.lang.String,%20android.os.Bundle,%20long)

For 2.1 you're going to have to use the AlarmManager to schedule your
synchronizations.

On 24 Sep, 13:50, Roman Mazur <[email protected]> wrote:
> What is the method to define a sync period for some account?
> ContentResolver allows to set automatic sync flag only. But what is
> period?
> Have I missed something?
> Or have I to schedule sync requests myself using the AlarmManager?
>
> Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to