Re: [android-developers] How to fetch own mobile number in android

2011-02-04 Thread Marcin Orlowski
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

[android-developers] How to fetch own mobile number in android

2011-02-04 Thread vimal
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