• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Responding the auto on/off checkbox in Android Account Settings

se22as

Lurker
When you add synchronization into your application using the Android Sync Framework, your application will appear in the Android Settings - Accounts section.

Clicking on your account for your app takes you to another screen where you can see details for your account. In Android 4.3 the top section indicates if auto-sync is on or off. Clicking on this section takes you to a screen where there is a checkbox for the user to turn on/off auto-syncing.

I would like my app to do something when this box is checked/unchecked (such as set a preference inside my app).

How do i listen/get notified to changes to this text box and know if its been checked/unchecked
 
Back
Top Bottom