PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • IMEI
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SysIMEI (Function)
In french: SysIMEI
Returns the IMEI number of an Android phone.
Remark: SysSerialNum gets the IMEI number of an Android phone.
Caution: This information is available up to Android 9. From Android 10, this information is no longer available: this function causes a fatal error.
Versions 16 and later
Android This function is now available for Android applications.
New in version 16
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 18 and later
Android Widget This function is now available in Android widget mode.
New in version 18
Android Widget This function is now available in Android widget mode.
Android Widget This function is now available in Android widget mode.
Example
IF Val(SysAndroidVersion(sysVersionNumber))<10 THEN
// Retrieve the IMEI number of the device
Info("The IMEI number of the device is " + SysIMEI("Cellular Line"))
END
Syntax
<Result> = SysIMEI()
<Result>: Character string
  • IMEI number,
  • Empty string ("") if an error occurred.
Remarks

IMEI

The International Mobile Equipment Identity (IMEI) is a number that uniquely identifies each GSM or UMTS mobile devices.
This number allows the phone operator to identify the calling mobile device so it can be authorized (or not) to connect. It is used to connect emergency calls without SIM. This number is also useful to ask operators to block a stolen mobile phone.
Devices that do not have a SIM card slot do not have an IMEI number (most tablets). For devices with a SIM card, the IMEI number can be retrieved up to Android 9. From Android 10, this information is no longer available.
Component: wd270android.aar
Minimum version required
  • Version 11
Comments
[WM20] Theres a way to get the ID for iOS
Yes! it is possible just need to download some files and do some methods but IT WORK! here's the link to check it out!

https://forum.pcsoft.fr/en-US/pcsoft.us.windevmobile/2177-wm20-get-for-ios/read.awp
Jose
23 May 2018