[HELP] Read the Mobile SIM phone number?

I already looked through all the API here. https://developer.BlackBerry.com/native/reference/Cascades/device_and_communication_radio_and_sim.ht...

And you can't find any API to get the SIM card number. Anyone know please share?

QString value;

BB::System:: telephone;

BB::System:: line = phone.activeLine ();

value = line.address ();

The code above works for me when not on a call in progress.

Tags: BlackBerry Developers

Similar Questions

  • How to read the mobile contacts?

    Hi all

    I want to read the mobile contacts and I want to show the contacts through my application.

    How to get there?

    Kind regards

    Naresh T

    It comes from my (very) chopped together solution;

    QString App::getContactsList(){
        ContactListFilters filters;
        QString contactListString;
        int contactListCount;
        int i;
        int x;
    
        filters.setHasAttribute(AttributeKind::Phone);
        filters.setLimit(9999);
        QList contactList = ContactService().contacts(filters);
        QList phoneNumberList;
        contactListCount = contactList.count();
    
        qDebug() << "Found " << contactListCount << " contacts";
        for(i=0; i < contactListCount; i++){
            contactListString += "[CONTACT]" + contactList[i].sortFirstName() + "[FNAME]" + contactList[i].sortLastName() + "[LNAME]";
            phoneNumberList = contactList[i].phoneNumbers();
            qDebug() << "Phone Number Count: " << phoneNumberList.count();
    
            for(x=0; x < phoneNumberList.count(); x++){
                contactListString += phoneNumberList[x].value().toAscii() + "[ENDNO]";
            }
            contactListString += "[ENDCONTACT]";
        }
    
        qDebug() << contactListString;
    
        return contactListString;
    }
    
  • I have a request for a phone number in my HTML code in my database which is automatically filled with the correct sales phone number when sending emails. I create HTML code in dreamweaver and then put the code in my e-mail program. I need to do the ph

    I have a request for a phone number in my HTML code in my database which is automatically filled with the correct sales phone number when sending emails. I create HTML code in dreamweaver and then put the code in my e-mail program. I need to make the phone number in the clickable query. I know the code to do it well not in a query. What is the code?

    As far as I saw, most of the smartphones will automatically recognize it these days, as long as the number is written in a format of regular phone number. This format also allows to make images or text other than a telephone number in a tap to call the link.

    Looking at what you have presented I guess it would be something along the lines of...

    urmcell>>">urmcell >

    When the location of the link and the link text would be the same variable.

    I've never worked with Intelliclick so above is a wild guess. They would be those who need to ask themselves if there is a way to fill in the address of a link like that.

  • adobie xi not to recognize the product code. How to reach live help? What is a phone number?

    Adobe does not recognize the product code. What is a live person phone number to get help?

    Start here: http://helpx.adobe.com/contact.html

    Note that phone support is only available Monday to Friday during reach US in the day; other than that use the chat.

  • Receipt sms indicating that my mobile number had won 750,000.00 GBPounds by drawing to the Mozilla Firefox phone number spell.

    Hi has received as a result of sms today 30/09/2011
    "Good news!" Your numbers ohone hs wins 750,000.00 GBPonds in Mozilla Firefox phone number attract to the United Kingdom to request, via email only to:
    [email protected] ".
    Please confirm that this is a scam and be aware.
    Thank you

    This is what we call hoax/scam as a similar earlier it did not appear in http://blog.gerv.net/2011/08/hoax_mozilla_firefox_online_promo/

  • Need help with installation/change of phone number for the Microsoft account

    I think I entered a wrong phone number upon registration of my Microsoft account, is there a way to edit/change it?

    Reconnect the MS Account to maintain or modify
    I assume you are referring to a MS Account, which is used in the purchase/installation of Software MS for example Office 2013

  • BlackBerry Smartphones need help with the new sim card

    I don't know why I have such a hard time finding how to do this. It's really making me feel like a * beep * here, so any help will be appreciated

    I'm on Sprint here in the United States and I'm on a trip to Romania in a few weeks and I wanted to have my phone all set up in advance. I bought a prepaid SIM Vodafone Romania, and told me that it is active and active international roaming. I tried it in 2 unlocked bolding my 9930 current and my old 9650. All I get is SOS and emergency calling only, both on AT & T or T-Mobile. I can't yet figure out how to get the phone number attached to the card. What's on the map with that he came are BPUK PIN and PUK. And I can't record with MyVodafone on their website without the phone number. I don't really know how to proceed. I was hoping to use SMS in roaming here until I leave.

    Thanks in advance...

    I was able to get the activated through e-mails with vodafone SIM. Just post here my solution in case anyone has the same problem.

  • need the customer support phone number

    Hi, I need to talk with the help of Adobe Acrobat DC and cannot find the phone number.  Someone at - the number?

    Hi Susan,.

    You have posted in the forum of Digital Publishing Solution that is not related to Acrobat DC. I found the following link however to help get help with Acrobat DC: https://helpx.adobe.com/contact.html?step=APRO-APAP-APCC-ACRO-CPDF-ECHP-acrobat.

    Neil

  • Why there is not in Korea of the South (+ 82) in the section "trust phone number?

    I want to turn on two factors of authentication to my iCloud, however cannot find the South Korea in the list of countries.

    Is there a solution to complete setting up authentication to two factors in Korea?

    I have seen this problem before coming, and I think that you will have to contact the Apple Support on this subject. When I click on change my phone numbers of trust and then click Add another phone number, it's the list, I get:

    You are on the site Apple - my Apple ID ? What OS X running on Mac? What browser do you use? Have you tried another browser?

    See you soon,.

    GB

  • How to disable the recognition of phone number on a mac

    When I type the 10-digit numbers in calendar events, Notes, and I think other places, they become a link that opens FaceTime, whenever I click on them (for example, to make a correction). None of them are still phone numbers. I have not and do not want to use applications that exhibit this behavior. How can I disable it on my Mac, so no numbers are never treated like phone numbers, unless of course they are entered into a field which is expressly defined as a phone number (for example in Contacts)?

    I don't think there is a way to disable this option, although there might be a way through the commands from the Terminal.

    To edit the recognized text auto, long - click on the text.

  • BlackBerry Smartphones Facebook 1.5 - connect contact initiates the request for phone number

    Hello

    Just installed Facebook 1.5 on my Curve 8900 and I am trying to manually link some FB friends to the contacts of BB.  Whenever I do this it sends a request to the FaceBook friend's phone number when it connects to them.  Does anyone know of a way I can turn this option off?  I want to just connect, not request a phone number, otherwise I would have chosen the option "request phone!

    Thank you

    DOM

    Yes, the 1.5.0.32 FB version corrects this problem.

  • Display the format US phone number - best practices

    JDeveloper 12.1.3

    -Telephone table has field VARCHAR2 with phone numbers. All records have exactly 10 numbers (characters) length

    -In the user interface, I want to show number xxx-xxx-xxxx, that is to say with af:outputText or similar device

    -observe that I am looking for display, and no to entry/edit phone number

    -in search of best practices

    What I did but am not satisfied:

    -In the t 3 has created a transitional attributes with the default SQL string. For example:

    Phone1To3: substr (Phones.Phone, 1, 3)

    Phone4To6: substr (Phones.Phone, 4, 3)

    Phone7To10: substr (Phones.Phone, 7, 4)

    Then in file jsff (the table component):

    <af:outputText value="#{row.Phone1To3}-#{row.Phone4To6}-#{row.Phone7To10}" shortDesc="#{bindings.Phones.hints.Phone.tooltip}" id="ot2222"/>
    

    Another way (better, easier)?

    In my view, that the best practice is to do your own converter in this case you will not need transitional attributes as you did. After doing a converter, you can add this converter inside outputText inputText. .. to display the required format

    To find out how a converter, you can check this url

    Sameh Nassar: Create custom converter

  • Is it possible for the Mobile (or) telephone number through the API of the SIM card


    Try Phone.getDevicePhoneNumber)

  • Dreamweaver mx 2004 need help activating the latter. Phone and computer activation service unavailable.

    I have an old version of Dreamweaver mx 2004 and cannot activate it online or by phone because they do not support this now. I was told of CS to ask in this forum for help on how to activate my software. I have owned this for almost 10 years and when I reformatted my computer, I was asked to reactivate.

    Adobe should just reported you at this link

    "Cannot be activated" error in the former Macromedia products

    Use the serial number of new, without activation to allow your product found here. Your existing serial number no longer works.

  • With the help of the Mobile template

    Hello

    I have currently a problem working something when you use specific model Mobile in British Colombia. The Web site on which I work www.rimini.com.au and when I load the website, the background image which is wide 1564px is really tiny.

    This is the first time I tried to use this feature on BC and it is quite confusing because I'm not sure what the code is originally the site see like that. As you can see, the logo is only broad 193px, but because the Web site visualizes this zoomed view on, the logo ends by see so small, that it cannot be read.

    I want the site to display so the logo appears in a readable size. I would be happy if the background image displayed to any size, as long as it fills the screen vertically. That I consult the website on an iPhone 3 g and I also had a glance on an iPhone 4. The 3GS version does not fill the screen vertically, but the version of the iPhone 4 displays always a small logo.

    Please if someone could let me know what I am doing wrong or what code I can change to make the background image not cut, it would be well appreciated.

    Hello robavron,

    For your bg image all you need to do is to give the body tag where you declare the bg image property more - background-size: cover;

    And I'm guessing that the logo has changed size because you did not set the display settings:

    This will tell the browser how content must match on the devices. So I would like to add that, at the head of your model.

    Hope this helps,

    Chad Smith

Maybe you are looking for

  • Ubuntu 8.04 Bluetooth Drivers for Satellite A200 - 14 d

    Hi, guys :) I installed a couple of days Ubuntu 8.04 LTS. Surprisingly almost everything has started working the first less than 10 minutes, in which Ubuntu has been kindly download all the things I needed and just exploded a comfirmation balloon, wh

  • How to save the data in table 1 d to Excel in continuous

    Mr President. How to save the data in table 1 d to Excel at all times, so that all the data of the first scan must be placed first thought and all the data from the second analysis must be placed on the second Board and continue on the street... Sy@m

  • Display strange scrolling

    Hello I have a W520 in a mini dock 170W. I have two screens connected to DVI and uses the W520 display as a third monitor. The main display is a 24 "1920 x 1200 running. It is in the Center. The left screen is the W520 and the right screen is a 21 "1

  • Control PLC Modicon-Quantam of Modbus TCP/IP Ethernet.

    Has anyone use LabVIEW to program a PLC Modicon-Quantam successfully using Ethernet TCP/IP? I tried the examples MB Ethernet (master/slave) in the download nimodbus121 and it doesn't work. I really need to know the best way to connect and communicate

  • Why should I get driver USB adapter 802.11 wireless b/g if I do not use wireless controls?

    Why should I get driver USB adapter 802.11 wireless b/g if I do not use wireless controls? Looks like it would be easier for someone else to spy on your computer.