android SharedFerence使用
来源:互联网 发布:铃声合并软件 编辑:程序博客网 时间:2024/06/06 10:01
写入数据
SharedPreferences store = getSharedPreferences("storexml", 0);
SharedPreferences.Editor editor = store.edit();
editor.putString("test", text.getText().toString());
editor.commit();
读取数据
SharedPreferences store = getSharedPreferences("storexml", 0);
str = store.getString("test", "");
text.setText(str);
- android SharedFerence使用
- android SharedFerence使用
- android SharedFerence使用
- Android使用
- Android使用
- Android使用
- 【android】 android studio使用
- android使用keytools使用
- 【Android】Android LogCat使用详解
- 【Android】Android LogCat使用详解
- Android:Android Fragments 详细使用
- android布局 android:Theme使用
- #android#android studio 使用cardview
- 【android】:android之使用Intent
- 【Android】Android对话框的使用
- 【Android】android Fragment的使用
- 【Android】Android SurfaceView使用详解
- Android进阶---android databinding 使用
- Linux下的多线程编程
- 回归csdn
- ajax 前台js调用后台方法
- 音频视频处理工具
- android SharedFerence使用
- android SharedFerence使用
- android SharedFerence使用
- PETSc 使用VecGetArray() 访问并行向量出错memory access out of range
- iphone
- gdbserver静态编译-调试失败的原来
- OpenScales入门教程:第二节 : 创建第一张地图
- 【转】 “由于应用程序配置不正确,程序未能启动”--原因及解决方法 vc2008, VC2005
- getFieldInfo_Func
- vc小游戏的第五篇