tags:

views:

82

answers:

3

How should I go about identifying an android user to a server. Should I get the IMSI number and some salting algorithm? Considering androids space and performance limitations is there a library that isn't too heavy that I can use to do the calculation?

A: 

Don't rely on Android_id, rooted devices have a fake one

fedj
I think you mean devices w/ custom ROMs. Rooting a device really just adds one new app and one new system binary.
Segfault
`ANDROID_ID` is generated when the device is first booted / when a factory reset is performed. Custom ROMs might allow you to change your `ANDROID_ID`, but there's no such thing as a "fake" `ANDROID_ID`. And yes, collisions can happen (custom ROM or not).
Felix
By fake, I mean that some custom roms directly precise ANDROID_ID so collisions happens
fedj
A: 

in a few months many more users will have android phones and android tablets so if you want to track a user over multiple devices it's best to use OAuth I think.

Segfault
+1  A: 

I think you cannot identify a user without any kind of account. Everything else is not reliable or only a device identification. Why don't you provide an own registration service for your server, so you can give an unique id to every user.

Another option might be the Google account which is bound to the device? Or will this cut you target audience for your up? But if you're building an app which extends some sort of Google tool, app or whatever then user will already have a Google account so your app could also use it to identify the user.

Flo