retrieve the phone number

TelephonyManager mTelephonyMgr = (Context.TELEPHONY_SERVICE) context.getSystemService (TelephonyManager);

Dim num = mTelephonyMgr.getLine1Number ();

the num is proving to be null, I even used the debugger to probe each value in mTelephonyMgr, but none of them seems to contain the phone number, someone knows if it is possible to retrieve the phone number?  Thank you

all comments are appreicated.

Hi yuusaku,.

Thanks for dropping by the forums!

The telephone number through the TelephonyManager class would not be supported in the BlackBerry Runtime for Android applications by the documentation provided to during extraction: https://developer.blackberry.com/android/apisupport/unsupportedapi_blackberry10_hardware_features.ht...

Tags: BlackBerry Developers

Similar Questions

  • Get the phone number of BB 10 device using blackberry.identity.phone.getLineIds)

    I am trying to retrieve the phone number of a unit of BB 10.  Testing with the ripple and the BlackBerry 10 Dev Simulator.  I tried many variations, and when the code runs is always that the phone is not always defined.  All the world made a call to blackberry.identity.phone.getLineIds () or blackberry.identity.phone.getLineNumber ()?

    If so, post you the code and the config.XML you used to get this working?

    I saw this post, and I tried the example code that is supposed to work, but I can ' t get the code working list.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/BlackBerry-identity-phone-doesn-...

    Hello

    That API is not supported on BB10 (only BBOS).

  • Get the phone number

    Hello

    I would like to get the phone number of the device by using APIs.

    Is this possible?

    DK

    Phone class
    public static String getDevicePhoneNumber (boolean format)
    Retrieves the phone number of the device if it is present

  • Apple 'Messages' full automatically to e-mail instead of the phone number

    Hello

    I'm looking to block the 'Messages' Apple software on my Macbook Pro to auto fill email addresses because I send you text messages for android phone to the person. I would prefer that it auto complete to the phone number, but I don't know how (or if) it is possible.

    Thank you!

    Tim

    If you start to type the name of the person, you get a pop-up menu with choice?

  • Need to disable CGI, I have two-factor authentication, but I don't have the phone number or device with me. What can I do?

    Need to disable CGI, I have two-factor authentication, but I don't have the phone number or device with me. What can I do?

    For Apple ID - Apple Support two-factor authentication

    If I can not connect, how I again to access my account?

    If you can't sign in, reset your password, or receive verification codes, you can account recovery application to restore access to your account. Account recovery is an automatic process designed to help you back into your account as soon as possible while denying access to anyone who might be impersonating you. It may take a few days - or more - depending on the specific account information, you provide to verify your identity.

    It will be your option. If you try to find an iPhone with locking Activation that you don't remember the password, you can remove the account from the iPhone with the help of Apple's Support with the receipt of the initial purchase of the iPhone as a way to prove that you are the real owner of this iPhone.

  • ICloud Keychain how can I change the phone number needed to verify the code text for me? The number it was sent is an old phone number of my friends that I do not have access to the.

    ICloud Keychain how can I change the phone number needed to verify the code text for me? The number it was sent is an old phone number of my friends that I do not have access to the.

    Try this from another thread I saw.

    On iOS, go to settings > iCloud > keychain and tap button to disable iCloud keychain. (you will be asked to delete or keep the passwords on device) I chose to delete...

    Then turn it back on, and pop - up chose reset iCloud trousseau, on a chosen pop-up confirmation reset

    In the new window pop up use iPhone password like iCloud cryptogram? has chosen the use code

    Enter your secret code (4 digits) then choose country and your new phone number

    Although, to "Restore the iCloud Keychain," I took to erase the data and essentially set up a new keychain.  Not the case.  Strangely, after essentially bypassing the security system, setting a new password and verification number, I see my cards, passwords and other data have been restored.  Maybe it's all the iCloud account and this master password.  Or maybe it's a bug.  With Apple, we'll never know.

    Also have a look here: get help using iCloud Keychain - Apple Support

  • How can I change the phone number to use Face Time?

    How can I change the phone number to use Face Time?

    Your phone number come from your SIM, and when you open a session and activate FaceTime. It should appear automatically. If it is not, then I would say that your FaceTime does not complete the activation process. If you go to settings > FaceTime, you see something awaiting activation or waiting for activation under the switch to turn it on?

  • notification of iMessage on Mac displaying the phone number, not name

    Only, I imported my contacts from my phone to my Macbook Air, but whenever I get a notification of text at the top right of my screen, it shows the phone number, not the name of the contact. Once I go into iMessage, the name is displayed. That's all just annoying that I don't know who texted me until I actually open iMessage. iCloud is enabled for my Mac and my iPhone.

    Check system preferences > Notifications > view Message

  • When I search for businesses, the address appears but is not the phone number. The number is displayed when I use Internet Explorer, so I don't know there is something to block these numbers popping up.

    I'm looking for manufacturing companies. When the info appears, everything is there except the phone number. This does not happen on Internet Explorer, so I know that the problem is inherent to Firefox. Something is blocking the pop up of these phone numbers.

    This has happened

    Each time Firefox opened

    == I started to search for companies

    Oh, if you want to learn more about why Internet Explorer is not a reference to rendering and all that, just ask. I'll be happy to tell you more.

  • How to insert the phone number in icloud?

    How can I insert phone number in the I cloud id. There is no option to add the phone number.

    Hi, gurkiratfrommoga.

    Please visit Apple support communities.

    Looks like you want to add the number of your iPhone to iMessage and FaceTime.  If this is the case, please see the instructions below.

    If your phone number is missing on your iPad or iPod touch

    Disconnect from the iMessage and FaceTime on all your devices:

    1. Go to settings > Messages > send & receive. Enter your Apple ID, then tap Sign Out.
    2. Go to settings > FaceTime. Enter your Apple ID, then tap Sign Out.

    Reconnect to the iMessage and FaceTime on all your devices:

    1. Go to settings > Messages > send & receive. Click on use your Apple ID for iMessage. Then sign in with your Apple ID.
    2. Go to settings > FaceTime. Click on use your username for the FaceTime Apple. Then sign in with your Apple ID.

    Link your number of iPhone and Apple ID to use iMessage and FaceTime

    See you soon

  • change the phone number in apple ID

    change the phone number in apple ID

    Yes

  • How can I change the phone number in apple ID

    How can I change the phone number in appleid

    Hi alistair290,

    Welcome to the communities of Apple Support! If you want to check or change the linked phone number to your Apple ID for use in iMessage and FaceTime, you can find information and the steps in the following article useful:

    Link your number of iPhone and Apple ID to use iMessage and FaceTime - Apple Support

    See you soon

  • What is the phone number for the support of safari

    What is the phone number for the support of Safari.  I got a notice that I was hacked.  Thank you

    This kind of message is a scam. Do not call any number presented.

    Phony 'technical support' / 'ransomware' popups and web pages

  • While the safari I received a crash warning iOS.  Call the phone number? Is it a scam?

    While I was with my iPhone Safari, I received a crash warning iOS. I was wondering if I should call the phone number or if it is a scam. Any suggestions?

    It's a scam. See below.

    Phony 'technical support' / 'ransomware' popups and web pages

  • Page Web Apple ID is no longer you allow to edit "can be reached to the ' phone number

    The new Page of Apple ID is no longer you allows you to edit a "reachable to the ' phone number.  The 'x' icon does not exist to be reached at the phone number.

    The phone number listed on my apple ID is incorrect and a phone from 2 years ago.

    I checked the number shows correctly on my IOS devices, all my OS X devices (iTunes account etc.) and the imessages and factetime.  I logged on all accounts on all devices (including the facetime and imessages) and reconnected but - Boulard... phone number of apple is ALWAYS incorrect and immutable to appleid.apple.com.  The phone number correctly absolutely everywhere else - shows info billiong, itunes, etc.

    I logged a request for assistance to the Apple and the technical support told me that she is seeing the same thing - so - there is a bug any on the new web page Apple ID.

    Anyone else encounter this problem is strongly encouraged to call Apple Support and connect the bug as well - you can check that your phone number IS correct on the web page of Appleid.Apple.com - FYI.

    Create a new second number and you will then remove one.

Maybe you are looking for

  • How can I transfer send photos to a file in "my photos".

    I want to move photos sent to me by email in a folder named 'my photos '.

  • Satellite A100-PSAAN: can I update the Bios of PSAA8 model?

    Can I put the Bios of A100-PSAA8 on a model A100-PSAAN?REASONI get the message that there is error of TPM secure entering (missing or disabled), hollow, I have this TPM in the Security section of the Bios, but I can't change. Please ADVICE

  • Satellite A300 - cannot use the CD/DVD drive

    Hello I have Satellite A300 and my DVD drive is not seen by Windows 7. I do not see in the Device Manager, and when I use the updates provided by TEMPRO, and on the site, it just won't update.When I opened the Toshiba Disc Creator, it gives me an err

  • Windows - WDS deployment services. Need help please for password of mystery problem

    Hello Just need help or advice about a problem that's been here recently. I'll give you the sequence of events so that you can better understand. An audit has been ordered here where I work and as I had just started working here 3 months ago, I decid

  • Documents folder

    Accidentally deleted my documents folder, lose all documents created in the past year.  Need for these documents.  Unfortunately unable to create backups due to problems with the computer are my DVD RW drive not recognizing... Is there a way to retri