SharedPreferences preferences1 =getSharedPreferences("com.android.gallery3d_preferences_0",MODE_PRIVATE);
Editor editor1 = preferences1.edit();
editor1.putString("pref_camera_picturesize_ratio_key", "1.3333");
editor1.putString("pref_camera_picturesize_key", "4160x3120");
editor1.apply();