Unique device for Blackberry Playbook ID

My android app, which I am trying to port on playbook, required a device id to identify each installation. On android, I use IMEI of the device as a uniqe id. Can I get this following code help

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

String imei = mTelephonyMgr.getDeviceId();

The same code Simulator playbook returned me 0000000000429496681245 like IMEI of the device. Now I'm not sure what is this number and it will be unique?

Devices blackberry as far as I KNOW has a PIN as a unique identification number.

Is it possible to access the device PINS using the androud code?

Help, please...

Thanks in advance...

Runs well on it contains the PIN in decimal format.

       TelephonyManager tm = (TelephonyManager)getContext().getSystemService(Context.TELEPHONY_SERVICE);

        String strDevice = tm.getDeviceId();

        String strPIN = strDevice.substring(10, strDevice .length() - 2);

Tags: BlackBerry Developers

Similar Questions

  • How to create the method own slot in QT for blackberry Playbook

    Hi all

    After two days of work-around, I can successfully develop the project of the QT in Qnx IDE for blackberry playbook 2.0.

    But now I have a problem to create the method of the slot to call on the click event of the specific button,

    Here is my code.

    #include

    #include
    #include
    #include
    #include

    slots machines
    void clickedSlots();

    int main (int argc, char * argv []) {}

    qputenv ("QT_QPA_FONTDIR", "/ usr/fonts/font_repository/monotype");
    QCoreApplication::addLibraryPath ("app/native/lib");
    QApplication app (argc, argv);

    QWidget window;
    Window.Resize(1024, 600);
    window.setWindowTitle (QString::fromUtf8 ('QPushbutton Background'));
    one click = new QPushButton ("Click Me");
    Click on-> setToolTip ("Thanks");
    Click on-> setMaximumHeight (100);
    Click on-> setGeometry (400, 100, 100, 40);
    QObject::connect (click, SIGNAL (clicked ()), & app, SLOT (clickedSlots ()));

    QPalette * palette1 = new QPalette();
    Palette1-> setColor (QPalette::Button, Qt::blue);
    Click on-> setPalette(*palette1);

    QPushButton * leave = new QPushButton ("Quit");
    QObject::connect (quit, SIGNAL (clicked ()), & app, SLOT (quit ()));

    QPalette * palette2 = new QPalette();
    Palette2-> setColor (QPalette::Background, Qt::green);
    Exit-> setPalette(*palette2);
    Exit-> setGeometry (200, 100, 100, 40);
    QVBoxLayout layout = new QVBoxLayout (& window);
    layout-> setGeometry (QRect (0, 0, 1024, 600));
    layout-> addWidget (click);
    layout-> addWidget (quit);

    Window.Show ();
    Return app.exec ();
    }

    void clickedSlots() {}
    QMessageBox msgBox.
    msgBox.setWindowTitle ("Hello");
    msgBox.setText ("You Clicked");
    msgBox.show ();
    msgBox.exec ();
    }

    Please help me with this problem. I had started to develop in QT before 2 days only. I'm not familiar with the development of QT.

    Thanks in advance.

    bskania.

    You have the chance, I'm feeling generous today.

    I fixed your code. You should really read the Qt documentation, it's fantastic. Here, it's a good start for the signals and Slots.

    http://Qt-project.org/doc/Qt-4.8/signalsandslots.html

    Mark this message as the solution and give me one as you please.

    main.cpp

    #include 
    
    #include 
    #include 
    #include 
    #include 
    #include "myslots.h"
    
    int main(int argc, char *argv[]) {
        qputenv("QT_QPA_FONTDIR", "/usr/fonts/font_repository/monotype");
        QCoreApplication::addLibraryPath("app/native/lib");
        QApplication app(argc, argv);
    
        QWidget window;
        window.resize(1024, 600);
        window.setWindowTitle(QString::fromUtf8("QPushbutton Background"));
        QPushButton *click = new QPushButton("Click Me");
        click->setToolTip("Thanks");
        click->setMaximumHeight(100);
        click->setGeometry(400, 100, 100, 40);
        myslots a;
        QObject::connect(click, SIGNAL(clicked()), &a, SLOT(clickedSlot()));
    
        QPalette* palette1 = new QPalette();
        palette1->setColor(QPalette::Button, Qt::blue);
        click->setPalette(*palette1);
    
        QPushButton *quit = new QPushButton("Quit");
        QObject::connect(quit, SIGNAL(clicked()), &app, SLOT(quit()));
    
        QPalette* palette2 = new QPalette();
        palette2->setColor(QPalette::Background, Qt::green);
        quit->setPalette(*palette2);
        quit->setGeometry(200, 100, 100, 40);
        QVBoxLayout* layout = new QVBoxLayout(&window);
        layout->setGeometry(QRect(0, 0, 1024, 600));
        layout->addWidget(click);
        layout->addWidget(quit);
        window.show();
        return app.exec();
    }
    

    myslots.h

    #include 
    #include 
    #include 
    
    class myslots : public QObject {
        Q_OBJECT
    
        public:
            myslots() { };
    
        public slots:
            void clickedSlot() {
                QMessageBox* msgBox = new QMessageBox();
                msgBox->setWindowTitle("Hello");
                msgBox->setText("You Clicked " + ((QPushButton*) sender())->text());
                msgBox->exec();
            };
    };
    

    myslots. Pro

    TARGET = myslots
    DEPENDPATH += .
    INCLUDEPATH += .
    HEADERS += myslots.h
    SOURCES += main.cpp
    

    Put all these files in the same folder, run qmake in there, it will produce a Makefile. Run make and it comes out a binary executable called myslots. That and your code works.

    I don't have a lot of changes, I'll let you step through the code yourself to find out what I did. Look at the documentation for help.

    I have not tested this Momentics, nor Alpha PlayBook/Dev. But I'm 100% sure the code works, since I ran it myself.

  • I want to develop an application Live TV for BlackBerry PlayBook. Please guide where can I find the specifications such as width, height, and icon sizes and design factors etc.

    I want to develop an application Live TV for BlackBerry PlayBook. Please guide where can I find the specifications such as width, height, and icon sizes and design factors etc.

    Guideleines of the user and the specifications on the sizes of icons etc to BlackBerry PlayBook OS Applications

    OK, I downloaed the pdf below for UI guiderlines

    UI_Guidelines_BlackBerry_PlayBook_Tablet_2_1.PDF

    Ok

  • Update Content Viewer for Blackberry Playbook

    When will it be available for Blackberry Playbook Content Viewer 2.2.0.  We built a folio of test, but when trying on a Playbook we receive an error message asking "Please update your application.  The version on the Playbook is 2.1.1.  We note that, on our IPad version is now 2.2.0

    Unfortunately, the tools v17 introduced changes that cause erratic behavior, with videos on the PlayBook. A viewer of updated content will not be displayed until these issues are addressed. To create a PlayBook app, use a previous series of producer Folio tools. Links to archived tools are located in the help system topic:

    http://help.Adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60-21ba9a4512e5e5e0b8d-7 ffe.html

    When you use the viewer Builder to create the application, choose v16 'Version '.

  • Can I have separate keys of singing for BlackBerry PlayBook?

    Hi all

    I have Blackberry signature keys, but in an article that I heard that it is separate keys required for the Blackberry Playbook of signature development applications is it true?

    If not can I use same signature keys for this tablet also?

    in fact, I have a Playbook with me, that's why I ask you and I want to convert my Blackberry Playbook app android app please check below link for FYI.

    https://bdsc.webapps.BlackBerry.com/Android/BPAA/user-identification

    Kiran.

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    I give glory for each answer

    HI Kiran_b,

    you are right that the application device playbook and BlackBerry have different signing keys.
    You cannot use blackberry sign button for Playbook.
    In fact in the blackberry device you must sign the playbook and .cod files you must sign the .bar file.

    --------------------------------------------------------------------
    Please mark as resolved messages if you found a solution.
    Feel free to press the Bravo thank the user who has helped you.

  • Error during construction through ripple for Blackberry Playbook, with WebWorks-Tablet

    Hello

    I am currently working on a blackberry app coded in HTML5.

    I am looking to build for the playbook, following the instructions

    https://developer.BlackBerry.com/HTML5/documentation/creating_helloworld_for_blackberry_playbook.htm...

    However, when building it, I get the following error message

    The first error message is caused by error when loading "jvm.dll" However, I checked, and this file exist in this directory.

    Any help or sugestion would be greatly appreciated!

    Thank you.

    You must use JDK 6, and it must be 32-bit. I use the 32-bit JDK 6u45.

  • Look for Blackberry Playbook

    Hi guys,.

    Someone at - it tested flash and got good results on the Playbook? Compared to the ipad?

    I'll put up Blackberry developer, but I'm unclear on installing it. I installed their SDK and selected my AIR 2.7 file

    who is in my Flash cs5.5 folder.

    1. I was expecting an option 'Air for Blackberry' should appear when I open the Flash, but it didn't happen. Not sure if it is installed on the right...

    2. it is sufficient to choose a model of 'AIR '?

    3. If I use Air 2.7, be she always export, be compatible for Blackberry 2.5 OS air?

    Thank you

    Matt

    p.s I will post all the results that I'm on this thread.

    Just my first application for BlackBerry the other night, awaiting approval now.

    There was a slight to the publication learning curve as you said, there is no option 'Air for BlackBerry' right now, but I've heard it's coming. Hope this is true.

    It's resources the two most useful that I've found. Good luck!

    o-AIR-apps-for-playbook/td-p/1080047 http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/Tips-Definitive-Guide-t

    ook http://www.hsharma.com/Tech/Tutorials/10-Easy-Steps-to-package-and-Sign-air-Apps-for-PLAYB.

  • I can get it for blackberry playbook

    I have a playbook and a z10. Is there a download for me to get firefox?

    Firefox does not work on Blackberry, Android only, sorry to other operating systems

  • How to send an email to the project mobile flex for blackberry playbook?

    Hello friends,

    I developed a small application for playbook. I want to send an email, use adoble flash builder burrito, there is no built-in functions available to send emails in flex 4.5, it can be achieved throug php, cold fusion, or asp.net. I don't know how do it, can someone send me the example to send an email to the project mobile flex.

    Thank you...

    There is no native email client in "flex". PB is not currently an API to use any "native" or "bridged" or by e-mail. If you just want to open the current, the default e-mail client, you can use navigateToURL with 'mailto' as url, or you can send the information to your own server, which can in turn SMTP information. Otherwise, you will need to write your own.

  • Sample of OpenAl and Ogg Vorbis for blackberry playbook

    Hi all

    Can someone give me an example of code to read the playbook ndk using Ogg Vorbis openAl and ogg files

    Concerning

    Arfaoui

    I just got with OpenAL ogg based on this post

    http://www.GameDev.NET/page/resources/_/technical/game-programming/introduction-to-Ogg-Vorbis-r2031

  • Locate the name of the application for blackberry playbook

    Hi guys,.

    I have trouble with location of app name. I need this application was called in several languages depending on the location of the device.

    There are in tag AppName-app.xml file

        POUVEZ newspapers

    to do this, but I do not understand in what form I have to build the xsd schema file. Maybe somebody do it, then please, can you post a sample or something else that can help.

    Thank you

    A bug in Flash Builder. 4.5.1 update or use the export to craete a bar file version.

  • BlackBerry Smartphones Facebook for Blackberry Playbook

    Does anyone know how to activate the option to post photos/videos/etc of my playbook through the facebook app? I don't know if I've set up wrong but its telling me that my application file authorization is disabled. I can't find an option anywhere on the app or on facebook to change this. Help!

    Go to settings (icon gear at top right on screen), click on protection in the list on the left, then the Application's permissions.

  • Signature of the device Pin showing Null when the Blackberry playbook tablet App

    I'm developing an app for Blackberry playbook in action script. I signed the application (Release version) and it has deployed on the device, but the axis of the device shows null. When I run the application directly from Flash builder it is showing correctly.

    I added the permissions for the config file, is to show the axis of the device, but after his signature for immediate release it shows null.

    Please let me know why it's happening.

    Thanks everyone, I solved the problem. In fact, there were 2 BB.xml file in my project, one containing the access authorization of pin of the device and the other did not have this permission. I removed the redundant .xml file and every thing went very well thanks to help appreciated guys

  • How do you build a folio for Blackberry?

    When you build a folio in Indesign (CS6), you must select a TARGET DEVICE. I need to build for Blackberry Playbook or Blackberry phone. What equipment should I use, I'm not in the list?

    When you make your document in InDesign the only thing make the presets named in the file > new Document dialog do is located the dimensions in pixels of the page. Make a custom with some pixel dimensions you want for your target device.

    Note that we do not explicitly support Blackberry devices. If they can run any Android application, then you should be fine, but know we don't test on them in all. If you want to run on a phone, you will need to use our new Android native Viewer.

    Here are some recent posts in the forum that you might find useful:

    http://forums.Adobe.com/thread/1399188

    http://forums.Adobe.com/thread/1399245

    Neil

  • BlackBerry playbook

    Anyone knows when are we going to get Skype for blackberry playbook?
    I'm sure that everyone who got a playbook are willing to pay for it if it's going to be the case! Skype developers can you please make the application for the playbook of bb.

    Hello

    If Skype for the playbook will be history as for all other BB models, you're in for a long wait!

    All BB users have requested, begging,... Since 2008-2009 to get Skype on the BB, but it's still not available and no word from Skype on the why, which leaves only when...

    Some purists will respond that it is available for customers of Verizon in the United States and 3 customers in the United Kingdom, drunk as everyone knows, is not what we want!

    So: good luck getting a response on the 'when' the question of Skype...

    Friend,

    LVL

Maybe you are looking for