Languages

Menu
Sites
Language
Galaxy3 IMEI = ''" (tizen.systeminfo.getPropertyValue("CELLULAR_NETWORK", onIMEINo);)

Hello Team,

When I try to get the imei no of device - using
tizen.systeminfo.getPropertyValue("CELLULAR_NETWORK", onIMEINo);

the success method returns an empty string. So Please check why I am not able to get IMEI no in the GALAXY3 device the same code is working fine with GALAXY and ACTIVE2.

CODE-

var telephony_capability = tizen.systeminfo.getCapability("http://tizen.org/feature/network.telephony");
if (telephony_capability === true) {
try {
tizen.systeminfo.getPropertyValue("CELLULAR_NETWORK", onIMEINo,onIMIEError);
tizen.systeminfo.getPropertyValue('BATTERY', onPowerSuccessCallback);
tizen.systeminfo.getPropertyValue('BUILD', onBuild);
catch (error) {
console.log("Error name: " + error.name + ", message: " + error.message);
}
}

function onIMEINo(cellular){
try {
console.log('The battery level is imei ' + cellular.imei + cellular.isFlightMode + cellular.isRoaming +
cellular.lac + cellular.cellId + cellular.mnc +cellular.mcc + cellular.status + cellular.apn +
cellular.ipAddress );
catch (e) {
console.error("IMEI:"+e);
}
}


Note - in this case "celluler.imei" = ""
for more please find attachment