摘要:
1 /** 2 * XmlSerializer xml序列化器 3 */ 4 //创建xmlSerializer 5 XmlSerializer serializer = Xml.newSerializer(); 6 File file = new File(MainActivity.this.... 阅读全文
摘要:
//保存信息SharedPreferences sp = context.getSharedPreferences("config", Context.MODE_PRIVATE); //Context.MODE_PRIVATE 私有类型 Editor editor = sp.edit();//保存... 阅读全文