I am working on a Blackberry 10 App using webworks and want to get the IMEI device number using webworks. I did not find a solution to get IMEI numbers on the Internet.
In javascript include this code
function functionName() { var transportList = blackberry.identity; IMEI_No = transportList.IMEI; }
and in the configuration file:
<feature id="blackberry.identity" />
This will return the Imei number.
Check out the Identity API - https://developer.blackberry.com/html5/apis/blackberry.identity.html
It will return IMEI and UUID.