Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
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;