delphi 安卓读写INI文件


本文整理自网络,侵删。

 
安卓读写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;

相关阅读 >>

Delphi 双进程监控保护

Delphi 控制n个字符间距空格

Delphi 用dde控制word

Delphi实现解析百度搜索结果link?url=

Delphi中窗体的事件

Delphi 将对象转换为json字符串或tjsonobject

Delphi侦测条码枪方式

Delphi获取网卡mac地址多个方法

Delphi中查找指定文件的例程

Delphi 获取指定进程中的~内存数据

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...