Owner Data

Hi all,
Can someone help how to get data about owner of telephone. There is such information as phone number and e-mail. I know it is stored in AccountManager Api, but do not know the way how to get it.


  • CortezCortez USMember ✭✭✭

    The phone number you can get with this code snippet if it is stored in the SIM card:

    Android.Telephony.TelephonyManager teleManager = (Android.Telephony.TelephonyManager) GetSystemService(Context.TelephonyService); button.Text = teleManager.Line1Number;

  • CortezCortez USMember ✭✭✭

    Almost forget. You need the ReadPhoneState permission.

  • mikollv123mikollv123 USMember

    Yes, but this do not work for all carriers. So I have found that there is accountmanager that contains also information about phone number. Do you know if it is possible to get it from there ?

Sign In or Register to comment.