USEGEAR

导航

android下xml放哪儿?

1、用Project->Deployment,打开发布文件窗口,增加要发布的文件。然后设置文件发布的位置Remote Path,填写为assets\internal\

2、代码

var
p: string;
begin
  showmessage(System.IOUtils.TPath.GetDocumentsPath);
  p := System.IOUtils.TPath.GetDocumentsPath+PathDelim+'myconfig.xml';
  clientdataset.fileName := p;
  clientdataset.open;
end;

 

 

 

posted on 2017-02-20 08:43  USEGEAR  阅读(490)  评论(0编辑  收藏  举报