own phone number without TelephonyManager.getLine1Number() ?

Put your problem here if it does not fit any of the other categories.

own phone number without TelephonyManager.getLine1Number() ?

Postby fahrstuhl65 » Sun Jan 20, 2013 7:13 pm


i`m from germany and unfortunality not all Carrier are saving the own phone number on
the sim card. The carrier O2 e.g don`t do that.

So i can`t get the own phone number with the TelephonyManager.getLine1Number() Value in any case !

Is there any other possibility to find out the own phone number in really any case ?

I thought about an USSD command, e.g. *#62# to receive the answer from the carrier, but
unfortunality Android dosn`t have an API for USSD :(

So, it would be very nice if somebody give me a hint to solve this problem !

Thanx a lot and withe best regards

Once Poster
Once Poster
Posts: 1
Joined: Sun Jan 20, 2013 6:54 pm


Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 5 guests