UDID DeviceID

From wiki.taptica.com
(Difference between revisions)
Jump to: navigation, search
(Created page with "== How To Retrieve UDID/Device Id == '''iOS:''' NSString *deviceId = [[UIDevice currentDevice] uniqueIdentifier]; '''Android:''' final TelephonyManager tm = (TelephonyM...")
 

Latest revision as of 09:16, 16 August 2012

[edit] 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