UDID DeviceID
From wiki.taptica.com
(Difference between revisions)
(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();