安卓读写INI文件

uses System.IoUtils

procedure TForm1.Button1Click(Sender: TObject);
var
IniFile:TIniFile;
Count:Integer;
begin

try
IniFile:=TIniFile.Create(TPath.GetHomePath+'\test.ini');
Count:=IniFile.ReadInteger('Config','Count',0);
Count:=Count+1;
IniFile.WriteString('sec', 'TEL',' ');
IniFile.WriteInteger('Config','Count',Count);
finally
FreeAndNil(IniFile);
end;
end;

最新文章

  1. Unable to load native-hadoop library for your platform... using builtin-Java classes where applicable
  2. Yii2 打印sql语句和批量插入数据
  3. linux全部命令
  4. 【转载】标准输入输出重定向(Visual C++)
  5. 215. Kth Largest Element in an Array
  6. ORA-01810: 格式代码出现两次
  7. 【BZOJ】【1028】【JSOI2007】麻将
  8. javascript笔记——闭包
  9. 图层类(CCLayer)
  10. 使用PullToRefresh实现下拉刷新和上拉加载
  11. Linux常见面试题
  12. 解决IE6下DIV无法实现1px高度问题
  13. JavaScript 实现Map
  14. AJAX 中JSON 和JSONP 的区别 以及请求原理
  15. C++ 脑筋急转弯
  16. 在linux 上安装ansible
  17. Python之Requests的安装与基本使用
  18. java Integer.valueOf 和 Integer.parseInt 和 new Integer区别及注意事项
  19. MySQL自定义函数和存储过程的区别:
  20. 如何用万用表判断一个12V蓄电池是否没电

热门文章

  1. org.Hs.eg.db包简介(转换NCBI、ensemble等数据库中基因ID,symbol等之间的转换)
  2. zg项目 应用系统编码原则
  3. 使用Font Awesome替换你的网站图标(icons 图标)
  4. Web标准:三、二列和三列布局
  5. tag-SMASS-1
  6. SpringMVC工作原理1(基础机制)
  7. spring框架的概述与入门
  8. Alluxio/Tachyon如何发挥lineage的作用?
  9. POJ1180 Batch Scheduling -斜率优化DP
  10. Codeforces 607A 动态规划