My app generates some files and dir in Dir.RootExternal
Sometimes I need to test my app as it is just installed, so I do the following:
1) terminate the app
2) open a file manager like the stock one or EZ File Explorer
3) delete some files
4) reboot the device
5) check with the file manager that the deleted files really no longer exist
But (sometimes) when I launch again my app it behaves as if those files are still present. For example I have deleted a SqLite DB but the app still find it and show all its contents.
After some try and retry then the operation has success.
Which is the explaination of this behaviour ? What can I do to avoid it ?
Sometimes I need to test my app as it is just installed, so I do the following:
1) terminate the app
2) open a file manager like the stock one or EZ File Explorer
3) delete some files
4) reboot the device
5) check with the file manager that the deleted files really no longer exist
But (sometimes) when I launch again my app it behaves as if those files are still present. For example I have deleted a SqLite DB but the app still find it and show all its contents.
After some try and retry then the operation has success.
Which is the explaination of this behaviour ? What can I do to avoid it ?