How can I verify a PIN of BlackBerry (DeviceID)?

Hello world!

Well, the thing is that I develop some private apps requested by a company and they want to restrict its use to a few users, in fact, just a few BlackBerry devices. The client wants to limit the use of this apps on the BlackBerry PIN.

I'm trying to post something like:

(Integer.toHexString(DeviceInfo.getDeviceId()).toUpperCase() == 2100000A)

but it is always set to false.

I tried without "toUpperCase()", with 2100000 has, and even without any conversion writing decimal numbers, just using DeviceInfo.getDeviceID () and decimals ID.

I tried not to use the simulators but a BlackBerry device, but I get the same result, and that validation is always false.

I am doing something that is not possible? Thanks in advance for your help.

Try to post like this:

if("2100000A".equalsIgnoreCase(Integer.toHexString(DeviceInfo.getDeviceId())))
{
    System.out.println(Integer.toHexString(DeviceInfo.getDeviceId()));//TRUE;
}

Tags: BlackBerry Developers

Similar Questions

  • How can I verify that this subwoofer on the Satellite X 200?

    Hello

    How can I verify that this subwoofer?

    In certain circumstances I encounter or have the impression that his 'escapes' to the screen which, in my view, is not appropriate behavior.
    However, this phenomenon is not continuous and never appears while the laptop is not on the table (i.e. subwoofer is not horizontal)

    BR
    / Arek

    Hello

    I put t know what sound behavior do you mean exactly, but it turns out that the Satellite X 200 laptop is equipped with the Realtek sound nursery.
    You can find the settings in the control panel.

    This Realtek audio Manager control and sound effects, Dolby Home Theater sound configurations and configuration of additional speakers.

    These options affect the sound quality and the acoustic perception.

    Must play a bit with these options!

    Good bye

  • How can I configure network server in blackberry phones smart blackBerry bold 9700

    How can I configure network server in blackberry bold 9700

    I want that my third-party applications to access the organization intranet using your organization's network.

    When I tried to change the permissions of third-party application, it shows RIMconnections, interactions, data from the user... don't allow, deny permission is there.

    How can I set thesehttp://docs.blackberry.com/en/smartphone_users/deliverables/23895/Third_party_application_connection...

    Yes, if you read the link you posted, these settings are for OS6 and higher devices.

    Not for OS5 and you're on OS5.

  • Smartphones how can I get bbm on my blackBerry playbook

    Hi I'm new to blackberry, so I wonder if I can get bbm on my playbook without a blackberry phone

    Or if I need a blackberry phone I could use friends or will he be there messages

    If I get bbm on my playbook how :-)

    Right now, you need a BlackBerry phone paired to your PlayBook to use BBM. If all goes well at somepoint in the future BBM will come the PlayBook like a native app without the need of a BlackBerry phone.

    You can pair your phone to friends to your tablet, but it will use her contacts list. It reflects all that is on their phone - e-mail, address book, contacts BBM, etc... You will not be able to create your own BBM list using their phone.

  • How can I verify that my laptop contains a 32 GB SSD Cache?

    Just today, I received my portable Quad dvt-7000 and overall I am very happy with it.  However, my configuration must contain a 32 GB WSSD acceleration Cache on the hard drive. I can't confirm this by Speccy or even of the HP product information.  How can I confirm that this product actually contains this upgrade?  I deliberated rather or not to spend the $ on this feature.  I just want to confirm that I got what I paid for.

    Open Intel Rapid Storage from the control panel and it will show here. The computer actually combines the WSSD to 32 gig and the main hard drive in a RAID array-0 so it appears as a single drive. I have the same setup and I am very satisfied with the performance. The startup time is incredible. Intel Rapid Storage Control Panel will show the WSSD to 32 gig tab acceleration if you have. You can also open the door at the bottom of the laptop and physically to confirm the presence of the WSSD. It looks a bit like a cross between a wireless card and a memory module.

  • How can I verify that my U410 contains a 32 GB SSD Cache?

    I just got my Lenovo Ideapad U410. I ordered one with 1 TB + 32SSD, and I'm very happy with it. I want to assure you that there are 32 SSD cache. How can I make sure it's 32GB SSD? Any ideas? Thank you!

    Access the bios, there will be some information about this

    Disk management will not be information in case you have ssdconfigured of RAM

  • How can I verify and change the system set trace events?

    Hi all:
    How can I check that the system set trace level events? I don't want the big alert_log.





    Concerning
    Terry

    To disable the use of the event

    ALTER SYSTEM SET EVENTS '20 trace name ERRORSTACK OFF';
    

    HTH
    Srini

  • How can I restore my pinned tabs that have disappeared since the upgrade to 39.0?

    I have my tabs pinned, put in place in 3 lines (default) and 4 columns (user set). Since my upgrade to 39.0, my bottom line is not visible, but my aboot parameters: config are 3 x 4.

    You can zoom the subject: newtab page to resize tiles and tiles most enter on the page.

    • View > Zoom > Zoom out; CTRL and -
      'Zoom text only' should not have a tick

    This will affect all elements of the page, text so get more smaller institutions.
    Make sure that a tab with the subject: newtab page is open when you change the zoom of the page.

    Toggle the pref browser.newtab.preload false on the topic: config page in case of problems with remembering the zoom on the page of the on: newtab page.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • How can I verify employment for someone who works at Mozilla?

    I need to verify employment of a person who works at Mozilla. I can't find a phone number.

    For Mountain View, you can try 1-650-903-0800 when they are not on vacation.

  • How can I get my pinned tabs to show up for Windows 8?

    I recently bought a computer from Windows 8 and I synced my Firefox information, BUT I see the bookmarks but do not SEE my tabs pinned at the top. What the devil? I want to swich of Chrome which is super easy but I like Firefox Add-ons, but I do not see my tabs, etc. I won't have any choice. Can someone help me please!

    (PIN) App tabs and groups of tabs (Panorama) are stored in session data in the sessionstore.js file in the Firefox profile folder.

    You can copy the file sessionstore.js to your new computer.

  • How can I download pictures from my Blackberry to my PC memory card?

    I am trying to download pictures to a graduation ceremony which was taken on my Blackberry, but I am unable to because the adapter that I use will not work.  I want to get the pictures developed!  I decided to download the pictures to my PC and then download them on the mini digital camera storage card and bring them, developed from this source.  Your help will be greatly appreciated!

    Hi Vertice,

    Thanks for posting on Microsoft answers Community Forums.

    To transfer files to your PC using a card memory is to insert a memory card into your mobile phone.

    You can use Bluetooth to transfer photos to your computer.

    Once your Blackberry are connected together using Bluetooth, then you will be able to go to the screen media, select your photo and choose the menu "Send using Bluetooth".

    On your computer, you must right click on the Bluetooth icon in the taskbar and select 'Reception of a file', then choose where you want to save the incoming file.
    Note: Bluetooth will be able to transfer a single file at a time

    You can use the USB data cable to copy all your photos on your computer. You will need the Blackberry Desktop Manager software that came with your phone to be installed and a USB data cable.

    Once the software is installed, connect your Blackberry with the USB cable, and plug the other end into a USB port on your computer. Open the Blackberry Desktop Manager software, choose the Media Manager option, and you will see a Windows Explorer type interface that will allow you to select the files you want to transfer.

    You will be able to copy several music files, videos, photos, contacts, notes, etc. from your Blackberry to your computer or from your computer to your Blackberry device.

    It will be useful.

    Kind regards

    Srinivas
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • HOW can I GET a WHITE smart blackBerry "BOLD" phones 9900 FOR WIND MOBILE?

    I WANT TO USE WIND MOBILE, BUT THEY DON'T SELL THE WHITE OF THE BOLD VERSION 9900.

    THE WHITE VERSION IS AVAILABLE BY BELL AND TELUS

    The white version shows yet upward as a purchase option in the site of RIMM - confusing, don't speek for a company that sells their devices if they cannot be complete on their own products - go figure or what am I missing?

    Q1. Anyone on mobile Wind using a white bold 9900 and can tell me where bot u there?

    Q2. Can I buy a Bold 9900 white of Telus or Bell and get it unlocked and then go on wind energy?

    Please, if you don't know the answer, please do not provide a.

    Thank you much in advance.

    Since yesterday, it should be available on WIND energy.

    http://CrackBerry.com/white-BlackBerry-bold-9900-now-available-wind-mobile

  • How can I view another calendar to blackBerry smartphone users

    I need to configure the wizard to view a calendar of another employee.  He can already do on a computer, but we have them both mobile now and here to do from their blackberry.  We use Exchange 2003 for mail.  If someone tried this?

    Hi and welcome to the Forums!

    While I'm not (yet!) a specific article, my memory is that each BB user can only view and manage their own calendar of the BB. As a result, the delegate cannot manage the other their own BB, calendar.

  • How can I check each pin of the connector VHDCI SMU-6548?

    I need to use the VHDCI interface on the slot 3 i.e. NI SMU-6548 NI SMU-1062 q for testing purposes. I need raise or lower the individual lines of the 68 lines available. I use the VISA to do?

    If no VISA, how are NI - HSDIO which are available with the help of LabView 2009 to do? MAX test Panel specifies the channel 0-15 and 16-31. How these channels is linked to 68 lines?


  • How can I REMOVE a network 'saved' blackBerry smart phones?

    TORCH (6... 534)

    I want to delete a saved wireless network and would like to know how to please.

    Solved

Maybe you are looking for