Question

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.

Was it helpful?

Solution 2

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.

OTHER TIPS

Check out the Identity API - https://developer.blackberry.com/html5/apis/blackberry.identity.html

It will return the IMEI and the UUID.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top