×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    12

    Which API should i used to get my own phone number

    ANY COMMENTS WELCOMED
    Best Regards

  2. #2
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Which API should i used to get my own phone number

    hi,

    There is No direct Api's avaliable for getting ur own phone number either in Symbian c++ or in j2me .It is depricated for the developers as one can malfunction user's data.

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

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

    Re: Which API should i used to get my own phone number

    The phone number isn't stored in the SIM, so you can't retrieve it from it (this is done by the HLR, which maps IMSI <-> MSISDN numbers. Also note a SIM may have associated more than one MSISDN, for instance for data calls)

  4. #4
    Registered User
    Join Date
    Apr 2006
    Posts
    12

    Re: Which API should i used to get my own phone number

    Thx for your replies,mateen_maldar and pushL.
    Yesterday i found some codes that work before symbian 7.0,they can get own phone number by using functions in etelgsm.lib,but it`s not available in symbian 8.0 because the header file was removed.BTW,how can i get IMSI in symbian?

    Best Regards

  5. #5
    Regular Contributor
    Join Date
    Feb 2005
    Posts
    328

    Re: Which API should i used to get my own phone number

    PushL is quite correct in that the associated phone number is not available anywhere on the handset or SIM, it's therefore simply not possible to obtain via any API. Regarding obtaining IMSI, just do a search in this forum and you will find all you need...

Similar Threads

  1. How to make setting list item for Phone number?
    By oslario in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-03-16, 19:38
  2. Can I test SMS receiver on the phone without port number?
    By brighteyes in forum Mobile Java General
    Replies: 10
    Last Post: 2007-11-26, 23:38
  3. HP No. API
    By kkboy1 in forum Symbian
    Replies: 2
    Last Post: 2005-08-04, 03:13
  4. How Nokia data suite 3.0 detect the phone number
    By naoriya in forum General Messaging
    Replies: 1
    Last Post: 2002-10-10, 09:27

Posting Permissions

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