×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    May 2008
    Posts
    120

    Exclamation National Code from network - how to get ?

    Hello to you all ,

    is there a way to get the national area code (e.g GB is 44) the same way i get MCC ? it is very inportant , i found no answer on the internet , searching google and forums ..
    Thank you!!

    Avi
    One small step for me , one giant leap for mankind :)

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: National Code from network - how to get ?

    haven't seen one, but you could always make your own database to map them. MCC information could be found for exmaple with these links:
    http://www.itu.int/dms_pub/itu-t/opb...2007-PDF-E.pdf
    http://www.itu.int/dms_pub/itu-t/oth...030002PDFE.pdf

  3. #3
    Regular Contributor
    Join Date
    May 2008
    Posts
    120

    Re: National Code from network - how to get ?

    Quote Originally Posted by symbianyucca View Post
    haven't seen one, but you could always make your own database to map them. MCC information could be found for exmaple with these links:
    http://www.itu.int/dms_pub/itu-t/opb...2007-PDF-E.pdf
    http://www.itu.int/dms_pub/itu-t/oth...030002PDFE.pdf
    Thanx for the links , i though i will avoid it , have you seen such a file before on the internet?
    One small step for me , one giant leap for mankind :)

  4. #4
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: National Code from network - how to get ?

    Quote Originally Posted by aavi View Post
    Thanx for the links , i though i will avoid it , have you seen such a file before on the internet?
    I'm not sure what you mean by this, but Jukka's tip is the easiest to implement.

    Here's a snippet of some old code I have:

    Code:
        static const struct SCountryConfig {
            TInt iMCC;
            const TText* iCountryCode;
            const TText* iCountryName;
            const TText* iCallthroughNumber;
        } countryConfig[] = {
            { 208, _S("33"),  _S("France"),         _S("+33XXXXXXXXX") },
            { 214, _S("34"),  _S("Spain"),          _S("+34XXXXXXXXX") },
            { 222, _S("39"),  _S("Italy"),          _S("+39XXXXXXXXX0") },
            { 228, _S("41"),  _S("Switzerland"),    _S("+41XXXXXXXXX") },
            { 234, _S("44"),  _S("United Kingdom"), _S("+44XXXXXXXXX0") },
    ...

  5. #5
    Regular Contributor
    Join Date
    May 2008
    Posts
    120

    Re: National Code from network - how to get ?

    Quote Originally Posted by david.caabeiro View Post
    I'm not sure what you mean by this, but Jukka's tip is the easiest to implement.

    Here's a snippet of some old code I have:

    Code:
        static const struct SCountryConfig {
            TInt iMCC;
            const TText* iCountryCode;
            const TText* iCountryName;
            const TText* iCallthroughNumber;
        } countryConfig[] = {
            { 208, _S("33"),  _S("France"),         _S("+33XXXXXXXXX") },
            { 214, _S("34"),  _S("Spain"),          _S("+34XXXXXXXXX") },
            { 222, _S("39"),  _S("Italy"),          _S("+39XXXXXXXXX0") },
            { 228, _S("41"),  _S("Switzerland"),    _S("+41XXXXXXXXX") },
            { 234, _S("44"),  _S("United Kingdom"), _S("+44XXXXXXXXX0") },
    ...
    i assume you did this research by yourself ... matching the MCC to Prefixes ...
    One small step for me , one giant leap for mankind :)

Similar Threads

  1. Network Band Info
    By nishantghai in forum Symbian
    Replies: 7
    Last Post: 2010-10-24, 12:51
  2. Font & National Code
    By dboyko in forum Symbian
    Replies: 10
    Last Post: 2008-06-20, 20:41
  3. Replies: 0
    Last Post: 2003-09-26, 15:07
  4. Network Code
    By opaytuvi in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2002-11-21, 22:42
  5. problem with Nokia Toolkit 3.1 and binary code for MMS
    By alinesimon in forum General Messaging
    Replies: 1
    Last Post: 2002-08-09, 06:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×