Hi @Lloyd Sheen
Sometimes this happens because of permissions as well. You can modify Manifest to get permission.
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
Also verify the path before deleting.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
All of a sudden the File.Delete method no longer works on Android.
File.Delete(theFileName);
fileExists = ApiGeneralRoutines.doesFileExist(theFileName);
Using the above code the File.Delete executes and when I check to see if the file still exists it does.
Confused!
Hi @Lloyd Sheen
Sometimes this happens because of permissions as well. You can modify Manifest to get permission.
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
Also verify the path before deleting.