Hello!
On iOS I'm using IdentifierForVendor
to identify this device for licensing/authentication purposes. We can live with it changing if the user deleted all of our apps.
Now, I'm trying to figure out how to get similar functionality on Android. I need an ID that persists, and can be shared by multiple apps. I found discussion of using MODE.WORLD_READABLE
with SharedPreferences
, but also that it is deprecated as of API 17, and so should be avoided.
I see stuff about using a ContentProvider
, but I'm a little unclear on how that can be used to make the data accessible to multiple apps. The examples I found stored data in SQLlite, which is application specific, right? Plus, that seems like wild overkill to store a single string.
So... I'm looking for suggestions. Surely somebody out there has solved this problem. Any help would be greatly appreciated.
Thanks! -Karen