Deepak,
 Not sure if it will help, but I have a minimal SyncAdapter that, on both 
my phone and on a Genymotion emulator, syncs about every 20 minutes (which 
is a bit odd, because it is nominally scheduled every 15 minutes).

The docs are, to this day, nearly useless.  The example program is so full 
of bugs (not the least of which is that the schedule interval is off by 3 
orders of magnitude!)   Apparently, the order in which you call the 
ContentResolver methods and the actual account creation, are also 
significant.

In L, the whole SyncAdapter will be rewritten as a specialization of the 
JobScheduler.  That should be much better.

Sorry I can't be of more help.

-blake

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to