Tanks for explanations. I have one more strange thing with synchronization. Calling ContentResolver.requestSync does nothing unfortunately. But I expect the synchronization to start. Dose anyone know a reason for such a behavior?
On 27 September 2010 16:09, Roman Mazur <mazur.ro...@gmail.com> wrote: > > > > ---------- Forwarded message ---------- > From: Jens <dunkingbikk...@gmail.com> > Date: Sep 26, 11:50 pm > Subject: Synchronization period > To: Android Developers > > > If you are using 2.2 / api level 8 you could use > > http://developer.android.com/reference/android/content/ContentResolve...) > > For 2.1 you're going to have to use the AlarmManager to schedule your > synchronizations. > > On 24 Sep, 13:50, Roman Mazur <mazur.ro...@gmail.com> 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. > -- Best regards, Roman Mazur Tech Lead at Stanfy (http://stanfy.com.ua) Skype: roman.mazur.f LinkedIn: http://ua.linkedin.com/in/romanmazur Twitter: http://twitter.com/roman_mazur -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en