UDID DeviceID

From wiki.taptica.com
Revision as of 09:16, 16 August 2012 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How To Retrieve UDID/Device Id

iOS:

NSString *deviceId = [[UIDevice currentDevice] uniqueIdentifier];


Android:

final TelephonyManager tm = (TelephonyManager)getBaseContext().getSystemService(Context.TELEPHONY_SERVICE);
String deviceId = tm.getDeviceId();
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox