Search code examples
blackberry-webworksblackberry-10imei

How to get IMEI number in Blackberry 10 device using webworks?


I am working on Blackberry 10 App using webworks and I want to get the device IMEI number using webworks. I did not find any solution to get IMEI number on internet.


Solution

  • In javascript include this code

    function functionName()
            {
                var transportList = blackberry.identity;
                IMEI_No = transportList.IMEI;
            }
    

    and in config file include

    <feature id="blackberry.identity" />
    

    This will return the Imei number.