将XML文件写入android
----formshow newpath := '/storage/sdcard0/DCIM/100ANDRO/GRJKDAGLGXYSF'; ----存入本机 var filename:string; begin filename := 'update_sf_' + formatdatetime('yyyy-MM-dd',now) + gxyglkId; end; ---创建文件 var ---创建文件路径 var newpath:string;begin newpath := '/storage/sdcard0/DCIM/100ANDRO/GRJKDAGLF'; showmessage(newpath); if TDirectory.Exists (newpath) then begin ShowMessage ('Folder Exists!'); end else begin TDirectory.CreateDirectory (newpath); //Create a folder ShowMessage ('Folder created!'); // SpeedButton5Click (Self); //Close the window // TotalWork (path,True); //Update the list end; (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |