thanks for your reply!
I have set the permission for READ_PHONE_STATE.
it couldn't get the phone number, because the Internet Operator didn't
store this info to SIM card, and TelephonyManager.getLine1Number()
seems only could read phone number from the SIM card :(
So, any other ideas?
On
In a lot of cases it's impossible to get the phone number. My phone
certainly does not report any phone number (Nexus S)
On Jun 28, 9:12 am, Ellen ellen...@hotmail.com wrote:
thanks for your reply!
I have set the permission for READ_PHONE_STATE.
it couldn't get the phone number, because the
Exactly. The phone # is not used for routing calls, so it's not at
all surprising that the phone doesn't know its own number.
On Jun 28, 3:56 pm, JAlexoid (Aleksandr Panzin) jalex...@gmail.com
wrote:
In a lot of cases it's impossible to get the phone number. My phone
certainly does not report
Did you set the permission READ_PHONE_STATE?
On Jun 25, 4:14 am, ellen...@hotmail.com ellen...@hotmail.com
wrote:
Dear Android experts,
I'm trying to get the phone number through
TelephonyManager.getLine1Number().
As many threads discussed before, it couldn't work in a real device,
null as
4 matches
Mail list logo