Getting MCC, MNC and Device model in Nokia Asha Web Apps 2.0 Beta
This article explains how to obtain MCC, MNC and Device model in Nokia Asha Web Apps 2.0 Beta
Nokia Browser 2.0 offers MCC, MNC and Device model information, trough extending Navigator interface.
|New Properties in Navigator object|
|deviceModel||Returns device model e.g X3-02|
|homeCountry||Returns Mobile Country Code, MCC|
|homeCarrier||Returns Mobile Network Code, MNC|
Code below demonstrates how properties can be accessed. To see how MCC can be mapped to specific country, check out attached MCCMNC.wgt Web App.
var deviceModel = navigator.deviceModel;
var MCC = navigator.homeCountry;
var MNC = navigator.homeCarrier;