Esempio n. 1
0
 private static FileSystemBlockInfo GetFileSystemBlockInfo()
 {
     if (!string.IsNullOrWhiteSpace(_path))
     {
         _fileSystemBlockInfo = ExternalSdStorageHelper.GetFileSystemBlockInfo(_path);
         return(_fileSystemBlockInfo);
     }
     return(null);
 }
Esempio n. 2
0
 private static string GetExternalSdCardPath()
 {
     _path = string.Empty;
     if (Android.OS.Build.VERSION.SdkInt <= BuildVersionCodes.JellyBeanMr2)
     {
         _path = ExternalSdStorageHelper.GetExternalSdCardPath();
     }
     else
     {
         _path = ExternalSdStorageHelper.GetExternalSdCardPathEx();
     }
     if (!string.IsNullOrWhiteSpace(_path))
     {
         _isWritable = ExternalSdStorageHelper.IsWritable(_path);
     }
     return(_path);
 }