سؤال

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.

هل كانت مفيدة؟

المحلول 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.

نصائح أخرى

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

It will return the IMEI and the UUID.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top