public static void saveRMS(){
SharedPreferences.Editor sharedata = MeteoroidActivity.instance.
getSharedPreferences("jifei_dian", 0).edit();
sharedata.putBoolean("jihuo", jihuo);
sharedata.putBoolean("kaiqurenwu",kaiqurenwu);
sharedata.commit();
}
public static void loadRMS(){
SharedPreferences sharedata = MeteoroidActivity.instance.getSharedPreferences("jifei_dian", 0);
jihuo = sharedata.getBoolean("jihuo", false);
kaiqurenwu = sharedata.getBoolean("kaiqurenwu", false);
}
SharedPreferences.Editor sharedata = MeteoroidActivity.instance.
getSharedPreferences("jifei_dian", 0).edit();
sharedata.putBoolean("jihuo", jihuo);
sharedata.putBoolean("kaiqurenwu",kaiqurenwu);
sharedata.commit();
}
public static void loadRMS(){
SharedPreferences sharedata = MeteoroidActivity.instance.getSharedPreferences("jifei_dian", 0);
jihuo = sharedata.getBoolean("jihuo", false);
kaiqurenwu = sharedata.getBoolean("kaiqurenwu", false);
}