Archived:Getting Platform properties and IMEI in Flash Lite
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
We do not recommend Flash Lite development on current Nokia devices, and all Flash Lite articles on this wiki have been archived. Flash Lite has been removed from all Nokia Asha and recent Series 40 devices and has limited support on Symbian. Specific information for Nokia Belle is available in Flash Lite on Nokia Browser for Symbian. Specific information for OLD Series 40 and Symbian devices is available in the Flash Lite Developers Library.
We do not recommend Flash Lite development on current Nokia devices, and all Flash Lite articles on this wiki have been archived. Flash Lite has been removed from all Nokia Asha and recent Series 40 devices and has limited support on Symbian. Specific information for Nokia Belle is available in Flash Lite on Nokia Browser for Symbian. Specific information for OLD Series 40 and Symbian devices is available in the Flash Lite Developers Library.
Article Metadata
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...
--Risalmin 00:38, 4 December 2007 (EET)


Even though it explains the simple instructions, these instructions can be used in creative manner.
The application can check the platform before starting the execution. It may require some pltform specific resources, and hence can promt the user if the device does not have the required platform.