11-18-2010 08:54 AM
I'm a beginner developer of the applications for the Tablet and I have a question.
I use Adobe AIR SDK for the Tablet OS.
How to get the IMEI code of the device or similar identical code?
11-18-2010 09:35 AM
Look here, some fields look interesting, like hardwareID or PIN:
The last one seems to be the number you were looking for.
11-18-2010 10:17 AM - edited 11-18-2010 10:21 AM
Sure, I discover Device class and found info that its collect from Tablet Simulator useless((
Device : os=QNX,pin=0,hardwareID=0,platformVersion=126.96.36.199,
pin = 0
venderID = 1
this is unacceptable information for the authorization and authentification system.
Maybe its a point of Tablet Simulator?
11-18-2010 10:24 AM
All simulators have the same PIN number (PlayBook has 0, BlackBerry simulator by default has
0x2100000a as PIN number). I bet that in the future there will be a way to change it to something else for tests, the same situation applies for BlackBerry simulators - you can change PIN for them during startup of simulator (see: http://www.blackberry.com/developers/docs/5.0.0api
11-18-2010 10:41 AM
Ok, in case i need to pass to server "real" imei number (or some identical number) what should I do? Generate a number and store it in ShareObject? Or U do have some other sugestions?
11-18-2010 10:45 AM
Real device == Real number
Fake device (simulator) == Fake number
I'm sure you are not expecting from simulator to have real device identificator? In your case I would fake it more for tests, but how do you make sure that user data will be saved when user change device? Buy another one or change it to new one? PIN numbers are untransferable and unmutable.