Anfidya'nın arka bahçesi..

There is dark web in the deep web..

Archive for the ‘firemonkey ini’ tag

[Delphi] FireMonkey Mobil Belgelerim Yolu / Documents Folder Path On Mobile In FireMonkey

leave a comment

Selam baboşlar,

Uzun süredir yazmıyordum, zaten sizde pek takip etmiyorsunuz :/

Delphi XE8 de kullandığım, mobil uygulamalarımda ini dosyalarımı depoladığım ufak bir fonksiyonu sizinle tanıştırmak istiyorum (:

Hi mates,

I havent wrotten a long time, anyway you dont follow me.

I want to share a function for specific documents folder for mobile. Generally I use it for placed my ini files.

Uses
  System.IOUtils;
Function IniYolu:String;
begin
 Result := GetHomePath + PathDelim + 'Documents' + PathDelim + 'CozBabamCoz.ini';
 {$IFDEF ANDROID}
  Result := TPath.GetDocumentsPath + PathDelim + 'CozBabamCoz.ini';
 {$ENDIF}
end;

Written by anfidya

Ağustos 22nd, 2015 at 1:18 am