Software Archive
Read-only legacy content
17061 Discussions

How to get IMEI number of the android phone

Anjali_P_
Beginner
295 Views

Hiiii....

I am going to create an app where i need to get the imei number of the phone. Please help me how to get imei number in intel xdk . Is any plugin we have to include?

Thanks & Regards,

Anjali Paria.

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
295 Views

You'll need to use some plugins. I don't believe you can get this numbers on all devices, there may be security limitations on later versions of Android, non-SIM phones do not have IMEI numbers, and I believe iOS devices (and perhaps Windows) devices won't share that info with your app.

Search for "cordova plugin read imei" to find some plugins.

0 Kudos
Michael_O_2
New Contributor I
295 Views

Hi Anjali!

Go to the plugins tab and add intel.xdk.device plugin. When you are done, use intel.xdk.device.uuid to get the IMEI on Android. It works on 2.3+. I have also tried it on 5.1.1

0 Kudos
Reply