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 ?
Yes, I could. But the point is that the file (for the app) still exists. It is no longer visible with the file manager as it has been deleted, but my app finds it somewhere (cache ?).
Same behaviour with another simple text file.
This happens just sometimes.
Found a solution.
I see that if I open "manage applications", select my app and then click on "delete data"or "empty cache", then if I launch the app it really can't found the deleted files.
Found a solution.
I see that if I open "manage applications", select my app and then click on "delete data"or "empty cache", then if I launch the app it really can't found the deleted files.