Hi! Why get phone number in Symbian program?
This code return empty string:
TGsmSmsTelNumber tel;
fwrite (tel.iTelNumber.Ptr(), 2, tel.iTelNumber.Length(), f);
help, may by some body have example?
Hi! Why get phone number in Symbian program?
This code return empty string:
TGsmSmsTelNumber tel;
fwrite (tel.iTelNumber.Ptr(), 2, tel.iTelNumber.Length(), f);
help, may by some body have example?
What kind of phone number are you interested in?
Nokia Developer Wiki Moderation team
In short, you may not get your own Phone number using any Public API(nor with the priate APIs) as the most of the network operators do not have any mapping of phone number with the SIM card and the phone number is not written any where on your device which you can retrieve.
Of course, you can get IMEI of your device easily. Check this: Reading IMEI in 3rd Edition
Nokia Developer Wiki Moderation team
And also you can identify the SIM card with IMSI: http://wiki.forum.nokia.com/index.ph...in_3rd_Edition
You can't find own phone number by any API or any language. In general, the SIM card doesn't not know its own number, nor use it for anything. Only the network (operator's servers) needs to know it.
Operators could put the phone number the SIM card is associated with on the SIM, but generally they don't (it serves no purpose for making or receiving calls or messages there).
Don't you like this: http://discussion.forum.nokia.com/fo...23&postcount=4 ?
Or search for MSISDN on this discussion board.
Nokia Developer Wiki Moderation team