Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an equivalent to iOS' identifierForVendor for android?

In iOS 6, [UIDevice currentDevice].identifierForVendor provides a unique ID across all the apps from a single vendor.

Is there any way to do the same thing in Android?

like image 556
Kaisei Hamamoto Avatar asked Feb 02 '13 02:02

Kaisei Hamamoto


People also ask

Is device ID unique Android?

The android Device ID is a unique code, string combinations of alphabets and numbers, given to every manufactured android device. This code is used to identify and track each android device present in the world.

What is the device ID on Android?

What is Device ID for? Your Android Device ID is a unique alphanumeric code generated by the OS the first time you set up your smartphone. Note that it may change with a factory reset. It is similar to how an IMEI number works, but instead, this code basically identifies your phone, instead of being used for tracking.

What is Identifierforvendor?

An alphanumeric string that uniquely identifies a device to the app's vendor.

What is Google app Set ID?

Broadly speaking, App Set ID on Android is a unique ID that can be used by publishers to know which of their apps any given user has installed — that's the “set” in App Set ID.


1 Answers

There is the Android Id:
Generating Device-Specific Serial Number

Note that Android is designed so you can't automatically get a full device id. Android even modified a pre-existing part of linux that would have made this possible.

Even better than Android id: your app can request the AUTHENTICATE_ACCOUNTS permission. Then you know the user's Google id. This will be common across all apps and phones the user uses.

like image 137
Brian Attwell Avatar answered Sep 28 '22 08:09

Brian Attwell