+ Reply to Thread
Results 1 to 2 of 2

Thread: How to get the phone number using Adroid API?

  1. #1
    Join Date
    Dec 2007
    Posts
    1

    Default How to get the phone number using Adroid API?


    Or it's unachievable?

  2. #2
    Join Date
    Dec 2010
    Posts
    14

    Default Re: How to get the phone number using Adroid API?


    Hi archerwq

    Try this It will help you

    TelephonyManager tMgr =(TelephonyManager)mAppContext.getSystemService(Context.TELEPHONY_SERVICE);
    mPhoneNumber = tMgr.getLine1Number();

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts