Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Anjali_P_
Beginner
46 Views

How to get IMEI number of the android phone

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.

Tags (2)
0 Kudos
2 Replies
PaulF_IntelCorp
Employee
46 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.

Michael_O_2
New Contributor I
46 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

Reply