How to get info on the device

Hello

I need info on the device like IMEI, number of DVICE and version etc in my application. Could someone tell me how can I implement this?

//pro file
LIBS += -lbbdevice

C++

#include 

bb::device::HardwareInfo info;

qDebug() << "My IMEI:" << info.imei();

QML

import bb.device 1.0 // or 1.2

attachedObjects: [
    HardwareInfo{
        id: info
    }
]

onCreationCompleted: console.debug(info.imei)

More information

https://developer.BlackBerry.com/native/reference/Cascades/device_and_communication_info.html

Tags: BlackBerry Developers

Similar Questions

  • Any ideas how to get rid of the rose?

    I just signed up for the first time today and everything on my screen that should be white is pink. I know that the monitor support always white because when I first connect there is a small screen which lights up and that switches from analog to digital and it is bright white. Any ideas how to get rid of the rose? Tried to DISPLAY on the control panel and could not fix. Thanks, people.

    Hi rutherford nbr 1.
     
    -Did you of recent changes made to your computer before this problem?
     
    Make sure that the monitor cable is correctly connected. In addition, if you have another computer, the same connect to your computer to confirm that the issue is not because of the screen.
     
    Make sure that there is no electric devices with magnets next to your screen.
     
    Follow these steps and check if it helps fix the problem.
     
    a. Click START and select control PANEL.
    b. Select and click VIEW.
    c. Select SETTINGS on the Interface of the screen and then ADVANCED.
    d. on the advance Interface, choose COLOR MANAGEMENT tab.
    e. on Interface, click on add color management. You will see a list of color profiles.
    f. choose the most appropriate to the brand of the screen / graphics card. You can choose several color profile and a default setting.
     
    For more information, see:
  • BlackBerry smartphones not MEP on info on the device...

    IM in the process of navigation in the screens of engineering of operating system... then I went to info on the device... then I did scroll down to check my MEP... but could not find will appeal only to see until the unit features... (specifying the characteristics and features of my camera)... end of the list is the list of the SW parts... and then white screen below or Dungeon trying to scroll down, but all I can see screen white/white... I wanted to attach a screenshot, but I do not know how... I guess my t is limited with this acess... in any case, I hope you can help to me... im from the Philippines... I got this bb 9900 my sister in Australia last month... until, still trying to figure out, was discovered on the net looking for answers... but nothing helps... I hope that you can help me... still no network here... It is still giving me signal sos with the message "Insert SIM card", even if there is only a sim card already inserted... pffft

    With the help of unlocking your device to you can use a SIM card from another network, please contact your wireless provider that can help you. For more details, please see the following article. I hope this helps

    KB03889 - modification of the services or network provider

  • DELL Precision T7500 eSata connector on the rear of the machine - how to get power to the drive?

    Howdy,

    I have a DELL Precision T7500 with an eSata connector on the rear of the machine - all my existing SAS and SATA ports on the motherboard are taken and I want to connect an external SATA drive.  How to get power to the drive?

    Is there a map that I can buy.  I have PCI, PCI - X, 2 slots available on the motherboard PCI Express.

    Should I consider that meanders on a power cable 4 wires from inside the machine?

    Thanks in advance.  :)

    Greetings MakesOwnWeather,

    Thank you for your question.

    You need to use what we call a 'hard drive enclosure. What is the physical size of the hard drive external that you want to use? 2.5 inches? 3.5 inches?

    The device draws power eSATA or USB below don't ports so no need of an additional power cable. He receives only 2.5-inch disks.

    http://Accessories.Dell.com/SNA/ProductDetail.aspx?c=CA&l=en&s=DHS&CS=cadhs1&SKU=a3018200

  • How to get rid of the stupid list dropdown in the search box

    How to get rid of the stupid list dropdown in the search box

    If you want to restore the window previously used independently to manage search engines, you can enable or disable this pref to false with a middle-click on the topic: config page.

    • topic: config page: browser.search.showOneOffButtons = false

    Close and restart Firefox to force change.

  • How to get rid of the new menu button on the right side of the toolbar

    Honestly, I don't know why the developers cannot offer new features that we can use or not, by choice. Instead, things are forced upon us.

    Could someone tell me please how to get rid of the new menu button on the right side of the toolbar?

    It doesn't seem to be an option to remove via the Customize Toolbars window.

    Thank you very much.

    CTR extension makes Firefox customizable menu button 3 bar, so you can drag this button in the palette to customize to remove it from the Navigation toolbar.

    Reload and stop probably combine only if you set the two buttons in the correct order (reload - Stop and non-Stop - Reload)

  • How to get rid of the superdrive in menu bar?

    How to get rid of the superdrive in menu bar?

    Hold down the command key and drag it off the menu.

  • I can't use Roboform with 4.0 beta 10, so I can't use Firefox. How to get back to the beta version 9?

    I can't use Roboform with 4.0 beta 10, so I can't use Firefox. How to get back to the beta version 9?

    I think that there is a little more for it, but here's a solution that seems to work. After the installation of Roboform 7.1.7, go to: http://www.roboform.com/platforms/browsers/firefox and scroll down to a table listing the three browsers identifying the XPI file to load if it was not loaded automatically. Click the http://www.roboform.com/dist/roboform-firefox-3-4-frozen.xpilink. Firefox will ask you if you want to allow this should be installed. Let him. Finish installation, restart Firefox 4.0b10, and you'll see a Roboform 7.1.7 toolbar works. I did it on two computers, and everything seems to work.

  • How to get rid of the photo of the sunset on the webcam?

    HI -.

    It's probaby a stupid question, but please can someone tell me how to get rid of the image of the sunset on the webcam and allow me to use the photo and video on my netbook?

    I tried to contact Toshiba online but it does not connect.

    Thank you
    Stocks

    Sorry mate but I put t understand the question
    What cell phone do you have?
    Do you mean the internal s laptop webcam?

    If this can be useful?
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?MessageID=189664

    -Drag your mouse on your pop out where you choose to use your webcam, instead click the option at the bottom of the "Effect" in their 'net', click and click 'OFF' Tada! The now disappeared from your cam Image, +.

    Please send feedback!

  • configeration Silverlight - how to get rid of the protected mode

    How to get rid of the protected mode

    Hello Gloria,.

    Try the following site devoted to Silverlight: http://www.silverlight.net/community.

    I hope this helps.

    Good luck!

  • How to get rid of the virus of the moneyak of the fbi?

    How to get rid of the virus of the moneyak of the fbi?

    How to get rid of the virus of the moneyak of the fbi?

    http://www.bleepingcomputer.com/virus-removal/remove-FBI-monkeypak-Ransomware

  • Does anyone know how to get rid of the calendar in the window Live on XP? I do not use it, and whenever I check my e-mail, it checks the calendar, slows things down to the top.

    Does anyone know how to get rid of the calendar in the window Live on XP? I do not use it, and whenever I check my e-mail, it checks the calendar, slows things down to the top.

    Thank you!
    Debnfurkids
    original title: get rid of the calendar in live mail

    Hi Debnfurkids,

    I recommend you post your query in Live Mail Forums for assistance on this issue.

  • How to get and install the file txtsetup.oem for xp

    need to know how to get and install the txtsetup.oem file to install xp

    Hello

    The easiest way would be to visit the website of the manufacturer of the motherboard. This would normally have downloads for any RAID drivers required for the loading of Windows XP. The download can be an "executable" who writes a disk for you. It can be also something like a zip file with all files inside that must be extracted and copied to a floppy disk.

    If your PC is not a floppy drive, life becomes quite complicated.

    Please mark this as useful or response if applicable.

    Tricky

  • How to get rid of the 1935 error in windows 7

    How to get rid of the 1935 error in windows 7

    See:

    FIX: An installation may fail with Error 1935 when an .msi file

  • How do I detect if the device is tilting in 6.0 +?

    How do I detect if the device is tilting in BB 6.0 +?

    AccelerometerSensor.isSupported)

Maybe you are looking for

  • Satellite Pro P100 PSPAEE: driver XP Chipset/USB needed urgently!

    I have a PSPAEE-00E006EN P100 which was ordered with Vista Business installed. Its use is on a network and business using Navision 3.7 and SalesLogix, who are unable to work on Vista at the moment. We have a spare XP Pro license and I reformatted the

  • DETELE phone number in HP 2645

    Good afternoon I want to delete the phone number that I added in my HP 2645, but I can't delete because I can't find the tricks to delete or change. How to delete or change this phone number? Thank you.

  • Code C++ for USB-6211

    Hello I was wondering if the code examples provide with the DAQm base driver software, written in C, is fully compatible with C++. I'm trying to develop my own C++ program, that will record the tensions of 3 different sources using the box USB-6211.

  • I am trying to download adobe reader, but it will not complete the download because there is a "drive not valid error 1327: J:\. "box that appears

    Original title: I have windows xp.  What does "drive not valid error 1327: J:\. "means and how to fix it? Hello I have windows xp and I am trying to download adobe reader, but it will not complete the download because there is a "drive not valid erro

  • BlackBerry Q10 Acceptable storage?

    Hello I was wondering which of them would be compatible with Q10? Also differs from the SD card slot for a verse of Q10 Verizon AT & T or T-Mobile? Here are the links for the two I had in question. The only difference I think is the depth of the sd i