@@ -0,0 +1,659 @@
+package com.valtech.contactsync;%0A%0Aimport android.content.Context;%0Aimport android.content.SharedPreferences;%0Aimport android.preference.PreferenceManager;%0A%0Apublic class Settings %7B%0A  public static boolean isSyncEnabled(Context context, String countryCode) %7B%0A    SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);%0A    return prefs.getBoolean(%22sync_%22 + countryCode, false);%0A  %7D%0A%0A  public static void setSyncEnabled(Context context, String countryCode, boolean enabled) %7B%0A    SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);%0A    prefs.edit().putBoolean(%22sync_%22 + countryCode, enabled).commit();%0A  %7D%0A%7D%0A

Add Settings for managing settings programmatically