On 4 February 2011 11:06, vimal wrote:
> I want to get mobile number of own mobile.
TelephonyManager tMgr
=(TelephonyManager)mAppContext.getSystemService(Context.TELEPHONY_SERVICE);
mPhoneNumber = tMgr.getLine1Number();
but be aware it's not guaranteed you get it (so check for NULLs)
--
You re
I want to get mobile number of own mobile.
I searched android telephony class but i can not find any useful
function over there.
thanks in advance for your help.
Thanks,
Vimal Rajpara
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To po
2 matches
Mail list logo