Code example for SharedPreferencesBackupHelper

0
	@Override 
	public void onCreate() 
	{ 
		// This is the preference name used by PreferenceManager.getDefaultSharedPreferences 
		String prefs = getPackageName() + "_preferences";
		addHelper(BACKUP_KEY, new SharedPreferencesBackupHelper(this, prefs));
	} 
}