4

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.

Michael Donohue
  • 11,776
  • 5
  • 31
  • 44

2 Answers2

2

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

It will return the IMEI and the UUID.

chadtatro
  • 789
  • 3
  • 5
  • 1
    Thanks for the reply. I have already tried this but This gives an error "blackberry is not defined". Can you please tell me how to do it. Thanks in advance –  Feb 08 '13 at 09:35
0

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.

Arpit
  • 604
  • 5
  • 17