Hello.
Iam using shared preferences to store some values.
final SharedPreferences pref = getSharedPreferences(MyPref,
MODE_PRIVATE);
final SharedPreferences.Editor edit = pref.edit();
edit.putInt(Int_value, 1);
edit.putString(String_Value, test string);
edit.commit();
i look in the xml file
Most probably your Int_Value doesn't exist. In this case the number you
specified, 200, will be assigned instead.
Thanks
On Sat, Aug 13, 2011 at 12:52 PM, Kristoffer kris.isak.v...@gmail.comwrote:
Hello.
Iam using shared preferences to store some values.
final SharedPreferences pref =
2 matches
Mail list logo