Hi, how do i get the phone number or the ITU country code of the device using j2me ?
Thanks.
Hi, how do i get the phone number or the ITU country code of the device using j2me ?
Thanks.
Please check this link, we already had a similar discussion
http://discussion.forum.nokia.com/fo...t=phone+number
Regards
Gopal
That is what i thought, however i only want the country code.
I realize that there is the "wireless.messaging.sms.smsc" property, i believe this property has to present on all phones, right? does this value change if the user is on roaming ?
Thanks.
There is a sily way that You may already thought of:
send an SMS to an another phone.
You have to install a simple midlet on that phone that listens for incoming SMS's, and sends back an SMS to the sender, that contains the sender address.
Thanks, i think something like that but i was looking for an inexpensive way.
I will use the "wireless.messaging.sms.smsc" property because i think it can satisfy my needs (i already have the code working) that are getting the country code of the mobile (MCC), i just don't know if this property keeps the same when the user goes to a foreign country (roaming).
Thanks.
As far as I know the SMSC number doesn't change while roaming.
This might (or might not) be what you need.
By analysing the SMSC number you can also get the information which network operator is used.
Have a look at:
http://www.mobile-j.de/snipsnap/spac...twork+operator