472,129 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,129 software developers and data experts.

How to get Mobile Country Code in Windows Mobile using Win32..

Hi all,

I have done with Symbian and Blackberry for retrieving Mobile Country Code(MCC)

from my mobile using my app..

Now i want to know how to get the MCC for Windows Mobile using Win32 C++..

Waiting for Reply ASAP...
Jul 14 '08 #1
7 6214
5,000 Expert 4TB
Did you search on google or MSDN?
Jul 14 '08 #2

Is there any way to get the city code in BlackBerry and Windows enabled Smartphones/PDAs.

waiting for your reply.

Jul 15 '08 #3
Did you search on google or MSDN?

I have searched in MSDN, But i couldn't find the solution for this..

Can you please help regarding this..
Jul 15 '08 #4
How do you get them in Symbian and BlackBerry?

what I did in my WinCE .NET 4.2 app is to open serial port to the modem, and then query the modem using AT command. there are some AT commands available to get MCC. AT+COPS is one of them.

but maybe some newer OS have API for it.
Sep 22 '08 #5
7,872 Expert 4TB
It the mobile country code ( i assume that means where the phone number is registered as 'being a part of' ) going to be the same as the country set in windows? I suppose probably not?
Sep 29 '08 #6
For Windows Mobile, you can see ExTapi example under CellCore inside sample folder for Windows Mobile 6 SDK.

It will show you how to get IMSI. you can extract the MNC MCC from the first 5 or 6 digits of the IMSI.

there are two kinds of Country Code we can get here..
1) from the IMSI, meaning that it will be tied to the sim card, and thus, the operator where you subscribe your phone services regardless whether you are roaming or not.
2) from the current network. you get the country code for the current network you are logged in. for WM, this can be obtained from RIL API.

this is different from your Country/TimeZone set in the Windows Mobile Settings.
Jan 13 '10 #7
Good Info
Jun 8 '10 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Nick White [MSFT] | last post: by
7 posts views Thread by Jarod_24 | last post: by
3 posts views Thread by Hugh Janus | last post: by
reply views Thread by =?Utf-8?B?Q2hhcmxlcw==?= | last post: by
9 posts views Thread by =?Utf-8?B?RGFuaWVs?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.