Android Question Files that ar keept after app unistall ?

hookshy

Well-Known Member
Licensed User
Longtime User
Is there anyfiles remaining after the app unistalls ?

I have unistalled an app and it still loads some data from file.dirinternal as if the app did not ever unistalled.

Thanks
 

hookshy

Well-Known Member
Licensed User
Longtime User
I have deleted all data when the app was installed from app settings
I know that only file.dirdefautexternal were deleted not dirinternal ....strange
 
Upvote 0

hookshy

Well-Known Member
Licensed User
Longtime User
You can use a folder under File.DirRootExternal for files that shouldn't be removed. It requires a permission.
Early when I learned to use file 3 years ago I was saving data in file.dirdefautexternal ..then found out that users can delete the files from that folder
Then I use file.dirinternal for data that needed to be kept as long as the app was installed in the device
Today on my new phone I deleted data from app settings ...
All data was delteted ...dirinternal, cache ,defaultexternal and the app does not run anymore

When user deleted data from app settings the app crashes(permitions denied) as when starter is loaded no files could be write or read because of the missing permision I do not understand why
I lost track of how file library is treated on new android devices.

I put some try catch end try in starter when reading files ....and the app went back to original ...thanks good It works
 
Upvote 0
Top