It seems that FileManager.DirectoryExists
is not working propery on Android platform.
Try code below instead.
struct stat FileInfo;
if (stat(TCHAR_TO_UTF8(*PATH_TO_CHECK), &FileInfo) != -1)
{
if (S_ISDIR(FileInfo.st_mode)) {
}
}
It seems that FileManager.DirectoryExists
is not working propery on Android platform.
Try code below instead.
struct stat FileInfo;
if (stat(TCHAR_TO_UTF8(*PATH_TO_CHECK), &FileInfo) != -1)
{
if (S_ISDIR(FileInfo.st_mode)) {
}
}