Discussion Board

Results 1 to 2 of 2

Thread: country code

  1. #1
    Registered User
    Join Date
    Feb 2007

    country code

    hello Sir,
    I am creating 1 application in j2me i have to check country code e.g.
    00919890144387 but if user enters 10 or 01 in place of 00 what will be the source code for this application.

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    USA, CA

    Re: country code

    So you want to check the country to which the phone call is made, right? But your application needs to be able to remove all the international call indicators from the number (which could be "+", "011", "00", "990", "994", ... in fact there are probably hundreds of them, depending which country you are in and which operator you are using), right?

    You might have a huge task in front of you.

    Check calling codes for some countries for example here
    and even that site does not provide complete picture of the situation. For example for Finland it does not list many of the operator-specific calling codes.

    What are you trying to do with your application? There might be a better solution to your problem, but without knowing what you are trying to do, it is quite hard to make any suggestions.


Similar Threads

  1. stupid error!
    By bojkar in forum Symbian
    Replies: 1
    Last Post: 2006-12-14, 05:47
  2. Security code bug on 6230!
    By dabII in forum General Development Questions
    Replies: 1
    Last Post: 2005-05-17, 17:21
  3. How to handle a response with HTTP status code 100 (Continue)?
    By danieldkim in forum Mobile Java General
    Replies: 5
    Last Post: 2004-01-19, 10:54
  4. Replies: 2
    Last Post: 2003-11-09, 14:00
  5. Testing HTTP client for Nokia 3650; Looking to share code
    By nawkboy in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-09-10, 15:30

Posting Permissions

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