How to change sync settings through Android API?
        Posted  
        
            by Kyle Slattery
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Kyle Slattery
        
        
        
        Published on 2010-06-17T20:39:53Z
        Indexed on 
            2010/06/17
            20:43 UTC
        
        
        Read the original article
        Hit count: 228
        
android
Is there a way to change the sync settings of a Gmail account programmatically with an Android app? For instance, I'd like to enable/disable syncing of a Gmail account from my app, without the user having to do anything.
I took a look at AccountManager, but that doesn't seem to be the right place to look.
© Stack Overflow or respective owner