ANY COMMENTS WELCOMED
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.
"Whatever the mind can conceive and believe, the mind can achieve"
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)
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?
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...