On Tue, Dec 4, 2012 at 3:27 AM, Chloe Fotherby
<[email protected]> wrote:
> I have implemented an Android SyncAdapter & AccountAuthenticator. I can see
> my Accountunder "Manage Accounts" in the Settings and under that I can see
> my SyncAdapter in the "Data and Synchronization" section.
>
> However, I do not want the "Sync Now" menu option or the "Tap to sync now"
> functionality - is there any way to disable this option?
>

You cannot directly disable/hide the option. You can however check the
intent received
for the SYNC_EXTRAS_MANUAL flag, and do nothing if it is set.

http://developer.android.com/reference/android/content/ContentResolver.html#SYNC_EXTRAS_MANUAL

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