I want to retrieve default SIM language from SIM card, is this function can do it?
User::Language();
Thank you in advance!
Regards,
Kevin
I want to retrieve default SIM language from SIM card, is this function can do it?
User::Language();
Thank you in advance!
Regards,
Kevin
-- KEEP GOING..
User::Language(); returns the devices current language, anyway you propably should use that one since that is the language user has set on, and the SIM card is usually rather hard to get any access.
you can use CTelephony for getting IMSI. IMSI is the SIM id number, which first three will tel you the country of origin (home network country), next two are then operator ID's in that country (home network operator) and rest are unique ID's for the card.I dont think you ca get the language of SIM directly but by knowing operator country you can guess it.
There's no SIM card language per se. Every SIM card is associated with a MCC (Mobile Country Code) which with the MNC (Mobile Network Code) identifies the country and operator. Not necessarily the language (many countries have several official languages).
http://en.wikipedia.org/wiki/Mobile_country_code
http://en.wikipedia.org/wiki/Mobile_network_code
petrib is right, IMSI does not help you in anyway. You can check SIM Toolkit programming, if it help you in anyway.