According to the GSM specs, only the IMSI is required to be available
on the SIM card.
The actual phone number MSISDN is stored on the HLR database in the
operator's network and does not need to be available on the SIM card
or transmitted to the phone.
So no matter what technology you are using (Symbina, Java ...) you can
never count on being able to consistently get your own phone number
from the device or SIM. You might be lucky if the operator stores it
on the SIM or if the phone provides the user with a possibility to
enter it manually, but it does not have to be this way.
При положение, че ще се въвежда на ръка, предвижда ли се
'многпотребителска работа' или просто при първоначално стартиране
еднократно да го иска и да го помни вечно?
http://developer.android.com/reference/android/telephony/TelephonyManager.html#getLine1Number()
Но само за android и трябва да се направи като Phonegap plugin, за
Windows Mobile не съм намерил решение.
Pri purvo startirane se vavezda nomera ednokratno i se zapomnya sled tova. Pomisli kak raboti Skype. Pri purvi start iska login i parola. Sled tova pomni login i opcionalno pomni i parolata.
Sent from my phone