Android Question Save settings after uninstalling the application

StanVin

Member
Licensed User
Longtime User
Good day.
When i uninstalled the app, all files created by the application deletes to? If not, in what directory save the file that it had don't be removed later when the application is uninstalled (keep forever :))? Thank you.

Stan.
 

NJDude

Expert
Licensed User
Longtime User
When an app is uninstalled all the related data is also removed, however, any files created might stay if for example were created on DirRootExternal.

It is a very bad practice to leave "data forever" taking unnecessary space on the device, besides, it could also be a privacy/security issue depending on what kind of data has been saved, in other words, when the app is gone all related data should be also gone.
 
Upvote 0

StanVin

Member
Licensed User
Longtime User
When an app is uninstalled all the related data is also removed, however, any files created might stay if for example were created on DirRootExternal.

It is a very bad practice to leave "data forever" taking unnecessary space on the device, besides, it could also be a privacy/security issue depending on what kind of data has been saved, in other words, when the app is gone all related data should be also gone.

Thanks for the solution. But not always has an external memory device. I want to store data on the device in order to find out whether the previously run this app or not. The application for the catering, the seller wants to give a discount to those who first makes an order through the app.
People to obtain permanent discounts will be removed and install the app again :)
 
Upvote 0

StanVin

Member
Licensed User
Longtime User
That's not a solution, those files can be easily deleted with a file manager, besides, all devices have external memory (don't be confused with external as a USB dongle)
Yes I understood you. I'll look for then on the device unique values, store them in a database on the website and compare values. I will try to use the name in the google account. Like this: Determination of the mail address of the device
 
Last edited:
Upvote 0
Top