Skip to content Skip to sidebar Skip to footer

Can't Access Preferences Set In Account-authenticator In Android

I'm settings a preference in a checkbox via an account-authenticator: Intent settingsIntent = new Intent('android.settings.ACCOUNT_SYNC_SETTINGS'); settingsIntent.putExtra('account

Solution 1:

The changes made in the Activity based on auth_preferences.xml are saved to com.android.settings_preferences.xml and it can't be accessed using your application's getSharedPreferences(file, context). Common solution I found is to trigger a new PreferenceActivity in account preferences instead.


Post a Comment for "Can't Access Preferences Set In Account-authenticator In Android"