title: Data save for an android app after it uninstall or force data clear from settings
body: <p>I want to give the user some point when they first install the app (but I want it to device specific). It means if he uninstalls and re-installs he will not get that point again. I have found below methods:</p>
  
  <ol>
  <li><p>Keep device previous data in shared preferences which will be deleted if I release an updates of the app </p></li>
  <li><p>Store previous data in sql database but if user clears data from settings it will be lost</p></li>
  <li><p>Create a file in SDcard store data, saving that file in a folder with <code>.foldername</code> and check the file value, problem is that the user can delete it</p></li>
  <li><p>Every time the user opens the app it sends device id to server, server will check it is previously stored or not before giving point. Problem is that server maintenance should be  avoided.</p></li>
  </ol>
  
  <p>Other than these 3 methods is there any other method? 
  Can you suggest me any other way,
  or can you please tell me if there is no other method which would be better for 3 and 4?</p>