Hi

I'm implementing my own sync adapter and everything works great.
A strange i'm having is that after the sync is over, the Android still
shows the sync icon (the one with the rounded arrow) in the account
activity, and that someone (i guess its the account manager)
repeatedly calls the sync again and again, every 30 to 60 seconds.

Now i tried all sort of things to test this issue and i have
discovered something strange.
In my code, i do resolver.applyBatch every 50 new rows. (each new
contact i sync has about 5 rows).
If i remove the applyBatch (which means i retrieve the data from the
next, sort it and prepare it, but never "commit" it) - the problem
goes away.
The icon disappear and the account manager never calls it again on its
own (I'm using Android 2.1).

I must also state that no exception is being thrown in any of the
cases and that all the methods finish gracefully.

Any help would be appreciated !

-- 
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