セーブ

    SharedPreferences pref = getSharedPreferences("Hogehoge", MODE_PRIVATE);
    SharedPreferences.Editor editor=pref.edit();
    editor.putString("memo", "めもです");
    editor.putInt("num", 100);
    editor.commit();

ロード

    SharedPreferences pref = this.getSharedPreferences("Hogehoge", MODE_PRIVATE);
    String s = pref.getString("memo", "");
    int    n = pref.getInt("num", 0);