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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JayaseelanVaiyapuri
    New Member
    • Jul 2008
    • 16

    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...
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    Did you search on google or MSDN?

    Comment

    • LTCCTL
      New Member
      • Feb 2008
      • 49

      #3
      Hi,

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

      waiting for your reply.

      Regards
      LTCCTL

      Comment

      • JayaseelanVaiyapuri
        New Member
        • Jul 2008
        • 16

        #4
        Originally posted by RedSon
        Did you search on google or MSDN?
        Hi,

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

        Can you please help regarding this..

        Comment

        • afriza
          New Member
          • Sep 2008
          • 2

          #5
          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.

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

            #6
            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?

            Comment

            • afriza
              New Member
              • Sep 2008
              • 2

              #7
              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.

              Comment

              • SandeepJagdeva
                New Member
                • Jan 2007
                • 23

                #8
                Originally posted by afriza
                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.
                Good Info
                THANKS......... ....

                Comment

                Working...