No SD Card – No Error
Posted: March 5th, 2018, 11:55 am
Dear all,
pathname(CSEntryExternal) – No SD Card – No Error
I wrote backup operation for Android with the help of pathname(CSEntryExternal) function.
It Backups to SD Card
The problem is,
when there is no SD card it does not give an error.
Need to detect a method to check/verify SD card present or not
Please help on this regard
Thanks in advance
Leulae
pathname(CSEntryExternal) – No SD Card – No Error
I wrote backup operation for Android with the help of pathname(CSEntryExternal) function.
Code: Select all
string backupToSD = pathname(CSEntryExternal) + maketext("myfolder/Backup%d",timestamp());
filecopy(pathname(Application) + "Data/filename.DAT",backupToSD);
The problem is,
when there is no SD card it does not give an error.
Need to detect a method to check/verify SD card present or not
Please help on this regard
Thanks in advance
Leulae