Android Question Save settings after uninstalling the application

Discussion in 'Android Questions' started by StanVin, Feb 20, 2015.

  1. StanVin

    StanVin Member Licensed 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.
     
  2. NJDude

    NJDude Expert Licensed 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.
     
    thedesolatesoul and lemonisdead like this.
  3. StanVin

    StanVin Member Licensed User

    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 :)
     
  4. NJDude

    NJDude Expert Licensed 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)
     
    thedesolatesoul likes this.
  5. StanVin

    StanVin Member Licensed User

    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: Feb 20, 2015
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice