×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    10

    Regarding display Sim number on mobile

    Hello Sir/ Mam


    Could any one please suggest me how to get the Phone Number from the same mobile device using C++ Source code.
    If anybody know then tell me plz...


    Thanks And Regards
    Pooja Choudhary

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,748

    Re: Regarding display Sim number on mobile

    A SIM card (and thus a device) does not need to know its own phone number. While there is storage place for that, most of the time it is empty, or even worse, contains some random stuff.

  3. #3
    Registered User
    Join Date
    Sep 2012
    Posts
    10

    Re: Regarding display Sim number on mobile

    Quote Originally Posted by wizard_hu_ View Post
    A SIM card (and thus a device) does not need to know its own phone number. While there is storage place for that, most of the time it is empty, or even worse, contains some random stuff.

    But when we want to recharge our sim number then we want to know phone number, so to solve tis issue we need to know sim number from our own phone.

  4. #4
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,086

    Re: Regarding display Sim number on mobile

    You may search this forum with 'MSISDN' but unfortunately the results aren't very bright

  5. #5
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,571

    Re: Regarding display Sim number on mobile

    There aren't any really good ways - you can get it using the method described here: How_to_get_my_own_phone_number_using_Symbian_C%2B%2B but as wizard says there is a chance the information will be invalid. It is also possible to request it from contacts, but this requires that a user has set their "own card" information.

  6. #6
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: Regarding display Sim number on mobile

    If the above doesn't work, then ask the user for what their number is, and save it.

    If you want to verify the number, send an SMS (with content that'll identify it was your app that sent the SMS) to that number, and watch for the SMS coming back to the phone (if it comes, you know the number given by the user is correct). After that, you'd need to watch for SIM card changes, and if detected, verify the number again. Remember also that the user can change the SIM card, but the number stays the same (new SIM card from same operator, multi-SIM from same operator, number transferred to another operator). Note also that the SIM card could stay the same, but the actual number is changed (would be a rare case).

Similar Threads

  1. How to retrieve the mobile number or home number or work number
    By Rameshwari in forum Mobile Java General
    Replies: 1
    Last Post: 2006-08-19, 00:17
  2. How to distinguish a mobile phone number from a wire-network number?
    By palatoss in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-02-01, 09:00
  3. Replies: 1
    Last Post: 2004-12-10, 09:32
  4. Replies: 2
    Last Post: 2004-03-18, 03:17

Posting Permissions

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