Archived:Getting Platform properties and IMEI in Flash Lite
The correct syntax for getting the IMEI code is as follows:
deviceID = fscommand2("GetDeviceID", "deviceID");
The platform information is retrieved thusly:
platformString = fscommand2("GetPlatform", "thePlatform");
What you get is a text string. It depends a lot on the platform and is not standardised. You can benefit from looking for 40 and 60 inside the string. I'll later add here a little snippet that starts the file browser in both s60 and series 40 devices...
--00:38, 4 December 2007 (EET)