Why is a special file used in Android to store installation id instead of SharedPreferences? -


i trying figure out best way store application key , other application specific data. android uses file - http://android-developers.blogspot.com/2011/03/identifying-app-installations.html

i found using sharedpreferences faster , more efficient. why android use dedicated file store installation id instead of using preferences? both require application context, not reason.

i guess uuid persisted across installations if phone not factory-reset.

an applications sharedpreferences removed when application uninstalled. if user uninstalled/re-installed , id stored in sharedpreferences id different after re-installation.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -