11-11-2011 02:42 PM - edited 11-11-2011 02:43 PM
TelephonyManager.getDeviceId() should return the unique serial number per my contact.
I haven't a playbook now to test, I have only the simulator, what TelephonyManager.getDeviceId() should return when running on the simulator?
11-11-2011 04:07 PM
can you ask him please?
I used this code but this that is really similar to the one suggested by your contact but it returns unset on the simulator, now I don't know if this is a problem of simulator or a problem of real device also.
TelephonyManager mTelephonyMgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); pin = mTelephonyMgr.getDeviceId();