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
Post a Comment