Need for clarification on the use of BlackBerry Code signing keys?

We will use the same key for several applications developed by our care? Or should get us the key for each application that we will deploy on BB devices?

Thank you

You can use it on more than one application and deploy it on several devices.

It is limited to a single machine, I mean a signature key can be installed on a machine.

Tags: BlackBerry Developers

Similar Questions

  • Limit BlackBerry code signing keys

    The same set of customer files - RDK.csj and customer - PBDT.csj is usable on multiple computers to create the device debugging token?

    The CSJ files themselves can be installed once.  But after they have been installed, you can save your code signing keys and restore them on multiple computers.  See the link below for more information.

    Backup and restore BlackBerry Code signing keys

  • Certicom license AFTER the BlackBerry Code signing keys?

    In the code of blackberry signing keys ( https://www.blackberry.com/SignedKeys/ ) form there is a field in which you choose if you already license from certicom.

    My question is: can sign for a purchase signing keys first, and then have access to the api of encryption when you finally get the license certicom? Has anyone done it?

    nietaki wrote:

    In the code of blackberry signing keys ( https://www.blackberry.com/SignedKeys/ ) form there is a field in which you choose if you already license from certicom.

    My question is: can sign for a purchase signing keys first, and then have access to the api of encryption when you finally get the license certicom? Has anyone done it?

    You don't need to worry about the keys to Certicom. Just buy signature key and if you need to Certicom - try to get these more later.

  • BlackBerry Code signing keys

    Hello, to order a key code that is valid for one registration request or I can use it for all my applications developped by me.

    A code signing can be used over and over and over again for many applications, thousands of times.

  • Need for clarification on the cost of ESXi

    Hi all.  I am very new to virtualization and just downloaded and set up a machine with ESXi.  I am looking for a free solution, that I can use to run a couple of test with virtualization servers.  So, I installed ESXi and started the server where I got the message to go to the x.x.x.x ip address to manage the server.  First of all, is the only way to manage / create new virtual machines via a client?  For example, if I was just to start the machine with an iso of the OS into the drive, could I install like I did on a normal machine?

    So when I went to the management of the web page it tells me to download vSphere client.  This seems to be a great tool, but when I load it I get a message sayig "your evaluation license will expire in 60 days!  So this means that ESXi is not free?  Or vSphere isn't free?  I googled and searched all over this forum and even in a post asking the same question the answer was not clear for me.  Is is possible to do what I want, create and manage a few virtual, free test with vmware servers?  What is free / what is not?  Can someone please explain this in simple terms?  Thanks in advance.

    You are limited to how many VM, you will be able to run only by material resources, you have in the host server. If you have a powerful enough host, with enough memory (RAM) and storage, you can run VM 10-15 s on it. That's assuming that it's a pretty host recently built, or one built with the right equipment. I'm under VM 9's at the moment, which are a mixture of Windows and Linux releases. This includes the vMA (for some CLI features for the host). Windows servers are a mix of 32 and 64 bits, most of them being editions of 2003, but also a 2008 edition (Enterprise, 64-bit, soon to be my Exchange 2010 server)...

    You will not have things like vMotion, storage vMotion, HA, how vCPU's you will be able to give each VM, etc. with free ESXi 4 license... For use on a single host, it is not much of a question (see Storage available vMotion makes moving between much easier data warehouses). I don't know there are other articles that you have really only get with licensed versions. Look at this article for a few explanations of the differences between the free editions ESX, ESXi and ESXi...

    VMware VCP4

    Review the allocation of points for "useful" or "right" answers.

  • PLEASE CLARIFY! Need for clarification on the app's installation folder

    Hi all

    I noticed that on some devices such as the Bold 9780, the application after the installation appears on the homescreen on Curve 8520, it appears inside the download folder.

    So I want to know on devices on which it gets on the homescreen and on which he gets in the download folder?

    This device is dependent on?

     

    This is according to the guidelines of my knowledge, dependent on the device.

    Thanks in advance.

    Memory, file download was introduced in one of the 4 OS later releases, an assumption OS 4.5.  It is present until the 5.0 OS.  So, you can check if it is there or not by the level of the OS.  I think that if take you devices running OS 5.0 and earlier have this, that will work for the vast majority of phones out there.  But if you are developing for OS 4 devices, just check the simulators to determine where the icon appears.

  • need for clarification to the free developer license of technology Exchange Developer

    Hello

    could you please specify what is the developer for vSphere Standard product license?  do you mean ESX v4 standard edition? any other license?

    Thank you.

    Kong

    Kong - Thank you for asking it is for vSphere Standard as described in page 4 http://www.vmware.com/files/pdf/vsphere_pricing.pdf

    Hope this helps, see you then...

    Kind regards

    Pablo

  • I forgot the password of the Code signing key

    Hi, I got the signature key (csk file) by registering on blackberry, but for some reason, I forgot my password... When I try to sign my code it ask me password... I googled a lot to find a way to recover my password, but no avail... Can someone please tell me how to recover my password for the key signature or any other way that i can reset my password... Any kind of help would be appreciated... Thanks in advance...

    This is an old thread... but since it's one of the first results in a Google search, I wanted to bring an answer here.

    It is not possible to recover your password for BlackBerry Code signing keys.  However, you can choose a new if you reinstall your keys.  The first thing you need to do is to order a new set of keys (free) using the form below.

    https://www.BlackBerry.com/SignedKeys/

    Before installing your keys, find and delete the files below that will be present in the various BlackBerry development tools installation directories (location varies by tool).

    sigtool.DB

    sigtool. CSK

    sigtool. Set

    You will now be able to install your new CSI files and choose a new password.

  • Code signing keys can be used on more than a developer (different PC)?

    Hello

    I applied for a set of code a long time ago signing keys.

    I installed them on the JDE on my computer... and I was able to migrate them to my new computer always on the JDE, then on the eJDE thereafter.  I had a few problems of migration of these keys, but everything is working well now, I am able to sign my application.

    Now, I have a colleague who wants to develop an application using Widgets and there need code signing keys as well.  Can I just send my key itself?  Or he must apply to his own set of keys?

    In other words, the code signing keys used to identify a company or developer?

    Thank you!

    Each developer must have their own set of BlackBerry Code signing keys.  Sharing the key is against the license agreement.

  • Move the Code signing keys

    Hello everyone

    Is there a way to switch between PCs of signature key code?

    Thank you

    You can back up your keys and restore the same or another PC.  Steps can be found here.

    Backup and restore BlackBerry Code signing keys

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/backup-and-restore-BlackBerry-code-SIG...

  • MFP HP LaserJet Pro M126nw: Clarification of the use of HP Laser Jet MFP M126 nw Pro Page

    Hi support them.

    Recently, we bought a new HP Laserhet MFO M126nw Pro. The cartridge came with the new printer. I need a clarification of the HP Laserjet Pro MFP M126nw on the usage Page.

    We want to know how many pages that the printer has taken so far, printing and also how many pages is analysed and the copier took how many pages.

    I have attached the report using page for your reference.

    Please specify the things below.

    Pages for the scanned copy = 65

    I think he has counted only scanned copies 65.le is okay?

    2. What is Monochrome pages printed from copy = 66

    3. What is pages scanned host = 86

    4. print engine:

    1. total Impressions showing 829.

    Overall, I think it's showing printing, copier, 580 the scanned pages. Is this OK.

    2. What is jam events?

    It's showing 1.

    3. What is EconoMode Impressions?

    showing 0.

    4. What is monochrome prints?

    showing that 829

    Need to clarify the details above for my knowledge.

    Your support is much appreciated.

    Thanks in advance

    Concerning

    R.Pradeep

    the digital and print values are different.

    pages scanned copy 65 - this means that 65 pages have been executed by the scanner with someone using the copy function. the report shows 66 printed pages 'copy' which means 64 of these copies were only a single copy and 1 scan someone made 2 copies - which gives you a total of 66 pages printed from the copy function.

    pages scanned to accommodate 86 = that means 86 pages were executed by the scanner with a person who uses the "scan to network folder" or "scan to computer" function

    That's a total of total of 151 pages run through your scanner. only 2 values that you add to the scanner are the "copy" and «scan to host» numbers copy of 65 + 86 scan-to-host ='s 151 total scans

    total impressions are 829. pages printed from copy fuction are 66 - if you subtract 66 829 that gives you the number of pages that have been printed from a computer = 763

    763 pages printed computer + 66 pages printed using the copy function = 829 total number of pages printed

  • Post a message (need for clarification)

    Hi all
    This is going to be a long post, because I want to give good background.

    I wrote a message on the cancellation of the automatic updates. Here, it is pasted:

    "I have an old HP Pavilion dv7-4180us Notebook PC using Windows 7 Home Premium. It seems that I can never stop automatic updates. There is a problem.
    On the one hand, we are informed to install updates to keep our machines running well, up-to-date, to increase security. But I found that when these control sooner or later my computer, that my device is malfunctioning and I have to run the system restore.

    QUESTION: how to cancel - once for all - automatic updates all the?
    QUESTION2: How do you know which programs are bad operating system and are necessary?

    The damage has been done is usually a bad slowdown in operations. Start-up takes longer, opening files is slower, and I got an impossibility to open my system thanks to the fingerprint recognition.
    About me:
    -00359 - 899 2687 OEM product ID - processor: Intel (R) Core (TM); 5 UC; M 460 @ 2.53 GHz
    -Memory (RAM) installed 4.00 GB - system Type: 64-bit operating system
    -Prod. No.: XG834UA #ABA
    All comments welcome. Thank you. »

    (end of my first message block)

    A response has been sent by a peer:
    He pasted my original message in the upper part of his, then added the comment below. I have stick.

    "Windows updates are updates most of the time required of course there are glitches but then you must restore to the last frame of work and try to update again." Constant updates is a good indicator of your operating system is corrupted and you need for your system back to factory recovery install and update again.
    -First follow help links.
    Do not know how to display help click on the following link.
    First time here? Learn how to post and more
    -For disk recovery only.
    Get a HP USB recovery or HP recovery disc drive
    Read this before ordering your recovery discs! (United States and Canada only)
    Don't PM me if you do not allow PM in return. »
    (end of message from One Peer, glued)

    I tried to send a response to a peer. I clicked on the button "Answer" in the bottom right of his message, but my answer is back to my original thread. The 1st link in the message is 'Learn to use the forum.' It is said (stuck),

    A brief subject title including:
    • Name of the product
    • A brief description of the problem
    • A detailed message with the following information:
    o name of the product and operating system
    o How do I find my product name and number?
    o Description of the problem, including:
    o error messages, if applicable
    o changes to your system until the problem occurred
    o do not include the serial number of the product or personal information.
    (end of dough)

    With this link, I guess that a counterpart found my original post did not argue correctly. BUT: I entered the information about the product. on my first line and below the o/s. According to info. the link, I did everything that I need.

    QUESTION: was my insufficient message following protocol?

    Approved One also said in his message, (quote is pasted): ' don't not PM me if you do not allow PM in return '.
    In my attempt at a peer response, I wrote (pasted below).

    "Your last comment, ' Don't PM me..." If you do not have... "
    Could you explain that? Do you have I have somewhere a "PM" option for answering machines cannot delete "PM" me? Not to my knowledge. Finally, please be so kind as to explain what is "PM". "(end of dough)

    QUESTION: given that my answer to the q. above might not have reached a counterpart, can someone pls. specify what is "PM"?

    Another issue is the link 'Learn to use... forum.' A link on this link goes to "" tips ask the ' very best Question. "» "I opened that and saw this picture:

    In the image is "CNF". It's a serial number. Confusion which is on the first link "learn... use... forum", it is said, 'Do not understand the serial number of the product, or any personal information'.
    Please clarify this discrepancy, betw the statement and the image.

    LAST QUESTION: want to post this message, I thought that it wasn't on laptops, then search "HP Expert Forum. However, under "Choose a Board" has a long list, then "Show all" and "HP Expert Forum" comes. However, by clicking on it, I can't see in the empty bar where I need to place it. What I am doing wrong?

    Please follow the long message. All responses appreciated.

    AtAF

    I can't answer all your concerns. I will try to answer some of your questions and give you some places to look for answers.

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

    P.m.s are Messages private, somewhat like a mail between posters, but always using the guidelines and the presentation of the general forum.  In general, most people have this feature enabled.   I have impossible (not) comment in particular on the use of any Expert of the service.

    More information: How to send a private Message

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

    The bit about Product Information reminded members do not provide the serial number of their computer.  People post their serial numbers, their send addresses, same numbers on occasion.  It is an invitation only and we strongly advise anyone to publish personal information on this public Web site.

    ============================================================================

    Windows updates

    Everyone has an opinion about updates.  On a Windows 7 system, the need for updates - once the system is installed and the main updates are installed, AND assuming that it does not install no matter what additional programs or software - is mainly to preserve the system of some security problems are hiding everything.

    If you want to turn off Windows updates, then do it.  You are the admin.  It is your machine that is at risk - or not - and it is your decision to make.

    You can switch automatic updates / stop in

    Control Panel > set view icon > Windows Updates > settings

    Windows updates - turn auto update or disable

    ============================================================================

    Essential programs

    As a general rule, you must the programs running on the computer when it starts up which are included in the list of programs in the system and Microsoft programs in your startup file configuration list.

    How to use MSCONFIG in Windows 7

    Note the general Word - depending on what you have installed on your computer, your boot file can be filled with, well, an interesting range of programs that can indeed have slowed down the performance of your system over time.   Yet once, however, most of the programs - unless they are poorly written, or you forced them into the startup sequence when they belong there – are not by themselves slowing down the system by law "to be in the startup list.  In other words, you might consider doing some homework before snatching the programs in this list.

    ============================================================================

    -Comment-

    Your computer contains only 4 GB of RAM and he is older; We say "vintage".  This is not to start with a lot of resources and Windows 7 can, in itself, consume a lot of what is available.  Windows 7 is greedy.

    Add a gourmet operating system, a file system (perhaps) fragmented, a couple of badly written programs (bad code), less fast blazing to the Internet, and you might have the recipe for a slow computer.  I'm not saying that your computer is under one of these weaknesses, only that many computers don't have these problems.

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

    Resource monitor

    Resource hogs could be traced using the resource monitor.  Even on Windows 7, the tool is pretty sophisticated. You can spend time learning how to use it effectively.  However, the program is very effective to help you quickly catch programs that are hogging resources (memory and network, for example) that you have available.  For example, if you have a program that took all the memory and ran Amok, so to speak, the monitor will be able to quickly show what offending program to the wrongdoer.  In most cases, you can kill the culprit (identify, right-click > kill).  If you trash your system and really hang things up, press the power button and accident-shut down the computer.  You really want to do it very often. but every Admin has made at least once a clearing.

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

    Maintenance

    If the system is corrupted due to lack of maintenance, then you can provide this service by giving him some of the attention, he needs without actually going and perform a complete restore.  (Shudder).    Good maintenance, especially on a vintage with a limited capacity system helps the computer make the best use of its resources.

    Good care tips can be found here:

    Improving the performance of the system without adding memory (Windows 7)

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

    Fingerprint login

    After that all other maintenance was performed, it is possible that the following might help to restore the connection of fingerprints.  Understand that I have NOT used digital personal in a certain number of years and this is a quick overview of the subject.

    If you use a laptop:

    • Close all your programs and shut down your computer
    • Unplug everything (little unifying for the keyboard / mouse external can stay)
    • Perform the Hard Reset for your model of laptop
    • Start the computer and connect
    • Reinstall your driver validity sensor:

    validity sensor Driver V2.1.0.2 RevA Win7 sp52354

    • Restart the computer and log in
    • (Re) Install the Digital Persona software

    sp50048 Digital Persona Fingerprint Reader Software V5.1.0.175 Rev A

    At this point, I restart the computer once more and sign in, although this software is so robust that you could get away with jumping final restart.

    Reference:

    HP Pavilion dv7-4180us Entertainment Notebook PC Drivers

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

    Click on the Thumbs - Up Kudos to show that you appreciate the help.

    Although I strive to reflect best practices of HP, I do not work for HP.

    Click on accept as Solution when the answer provides a fix or a workaround!

  • Need for speed - error: the game has stopped working?

    everytime I open the need for speed, the race. It does not open and says that "the game has stopped working.

    Original title: program compatibility Application Applications App Apps game games Legacy Crash crashes Hang hangs

    Hello

    1. How did you install Need for Speed on the computer?

    2 did you download and install it from the Internet or that you have installed by using the CD/DVD set?

    3. which edition of the game that you are using?

    4. don't you make changes to the computer before the show?

    Please follow the steps below.

    Method 1:

    I suggest you to place the computer in a clean boot state and check if you are able to play the game. You can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    NOTE: after the troubleshooting steps, please return the computer to start as usual (see STEP 7 the above link)

    Method 2:

    Try to update the graphics card drivers and check if it works very well.

    Click on the link below.

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 3:

    Try to reinstall the game and check if it works very well.

    Click on the link below.

    Install a program

    http://Windows.Microsoft.com/en-us/Windows7/install-a-program

    I suggest also please contact the manufacturer of game for assistance.

    http://support.EA.com/

  • How can I make Apple sent an official request for Andorra in the list of international codes?

    Apple acknowledges that Andorra Telecom (Mobiland) is an approved operator.

    However it does not include the international dialing code of Andorra (+ 376) in the list of phone prefixes in the country.

    This prevents verification services, such as in two steps and two-factor authentication.

    How can I make Apple sent an official request for Andorra in the list of international codes?

    Thank you.

    Return of goods - Apple

  • Must be signed with the RIM Runtime Code Signing Key (RRT) - example of code bar

    Hi, when I try to start the bardcode example in my device (9780 Smartphone), I get

    "Error starting BarCodeApp: Module 'BarCodeApp' must be signed with the RIM Code Signing Key (RRT) DURATION.

    The only class I have in my project is:

    import java.util.Hashtable;
    import java.util.Vector;
    
    import net.rim.blackberry.api.browser.Browser;
    import net.rim.blackberry.api.browser.BrowserSession;
    import net.rim.device.api.barcodelib.BarcodeBitmap;
    import net.rim.device.api.barcodelib.BarcodeDecoder;
    import net.rim.device.api.barcodelib.BarcodeDecoderListener;
    import net.rim.device.api.barcodelib.BarcodeScanner;
    import net.rim.device.api.command.Command;
    import net.rim.device.api.command.CommandHandler;
    import net.rim.device.api.command.ReadOnlyCommandMetadata;
    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.system.KeyListener;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Keypad;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.XYEdges;
    import net.rim.device.api.ui.component.BitmapField;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.EditField;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.container.FullScreen;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.decor.BorderFactory;
    import net.rim.device.api.ui.toolbar.ToolbarButtonField;
    import net.rim.device.api.ui.toolbar.ToolbarManager;
    import net.rim.device.api.util.StringProvider;
    
    import com.google.zxing.BarcodeFormat;
    import com.google.zxing.DecodeHintType;
    import com.google.zxing.common.ByteMatrix;
    import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel;
    import com.google.zxing.qrcode.encoder.Encoder;
    import com.google.zxing.qrcode.encoder.QRCode;
    
    /***
     * Barcode API Sample
     * 

    * This application demonstrates the most common use of the Barcode API: 1) * Creating and displaying a QR code, 2) Scanning a QR code and opening the * browser pointing to that URL. It could be easily modified to scan/create * other kinds of barcodes, or do other things with the scanned/created barcode. * * @author PBernhardt * */ public class BarcodeAPISample extends UiApplication { //This controls how big barcode we will display is to be private static final int BARCODE_WIDTH = 300; // This is the app itself private static BarcodeAPISample _app; // Errors will be logged here private LabelField _logField; // The main screen which holds the toolbar and displayed barcode private MainScreen _mainScreen; // The barcode is displayed here private BitmapField _barcodeField; // The text stored here is converted into a barcode by the user private EditField _barcodeTextField; // This controls the scanning of barcodes private BarcodeScanner _scanner; // This screen is where the viewfinderf or the barcode scanner is displayed private FullScreen _barcodeScreen; public BarcodeAPISample() { // New screen _mainScreen = new MainScreen(); // Create the log field so it can be used in this constructor _logField = new LabelField("Log: "); // Create the place-holder for the barcode image and add it to the main // screen _barcodeField = new BitmapField(new Bitmap(BARCODE_WIDTH, BARCODE_WIDTH), Field.FIELD_HCENTER); _barcodeField.setBorder(BorderFactory.createBevelBorder(new XYEdges(2, 2, 2, 2))); _mainScreen.add(_barcodeField); // Create and add the field to store the barcode contents _barcodeTextField = new EditField("Barcode text: ", "http://devblog.blackberry.com"); _mainScreen.add(_barcodeTextField); // Add "display barcode" and "scan barcode" toolbar buttons /** * This is a quick example of the new (in 6.0) * net.rim.device.api.command package and the * net.rim.device.api.ui.toolbar package. All it does is invoke the * displayBarcode() or scanBarcode() method when you click the * corresponding button. For more details on this package, see the * JavaDocs or elsewhere in the Developer Resource Center */ ToolbarManager toolbar = new ToolbarManager(); ToolbarButtonField displayBarcodeToolbarButtonField = new ToolbarButtonField(new StringProvider("Display")); displayBarcodeToolbarButtonField.setCommand(new Command(new CommandHandler() { public void execute(ReadOnlyCommandMetadata arg0, Object arg1) { displayBarcode(); } })); toolbar.add(displayBarcodeToolbarButtonField); ToolbarButtonField scanBarcodeToolbarButtonField = new ToolbarButtonField(new StringProvider("Scan")); scanBarcodeToolbarButtonField.setCommand(new Command(new CommandHandler() { public void execute(ReadOnlyCommandMetadata arg0, Object arg1) { scanBarcode(); } })); toolbar.add(scanBarcodeToolbarButtonField); _mainScreen.setToolbar(toolbar); // Add the log field to the bottom _mainScreen.add(_logField); pushScreen(_mainScreen); } // Simply create the the app and enter the event dispatcher public static void main(String[] args) { _app = new BarcodeAPISample(); _app.enterEventDispatcher(); } /** * displayBarcode *

    * This method will take the text in the _barcodeTextField, convert it into * a QRCode and display it on the main screen. It could be easily modified * to use a different barcode format or to get the text from somewhere else. */ private void displayBarcode() { try { QRCode qrCode = new QRCode(); // This encodes the text with a low level (%7) of error correction Encoder.encode(_barcodeTextField.getText(), ErrorCorrectionLevel.L, qrCode); // From there we get the actual data matrix and convert it into a // bitmap ByteMatrix barcode = qrCode.getMatrix(); Bitmap bitmap = BarcodeBitmap.createBitmap(barcode, BARCODE_WIDTH); _barcodeField.setBitmap(bitmap); } catch (Exception e) { log("Exception: " + e); } } private void scanBarcode() { // If we haven't scanned before, we will set up our barcode scanner if (_barcodeScreen == null) { // First we create a hashtable to hold all of the hints that we can // give the API about how we want to scan a barcode to improve speed // and accuracy. Hashtable hints = new Hashtable(); // The first thing going in is a list of formats. We could look for // more than one at a time, but it's much slower. Vector formats = new Vector(); formats.addElement(BarcodeFormat.QR_CODE); hints.put(DecodeHintType.POSSIBLE_FORMATS, formats); // We will also use the "TRY_HARDER" flag to make sure we get an // accurate scan hints.put(DecodeHintType.TRY_HARDER, Boolean.TRUE); // We create a new decoder using those hints BarcodeDecoder decoder = new BarcodeDecoder(hints); // Finally we can create the actual scanner with a decoder and a // listener that will handle the data stored in the barcode. We put // that in our view screen to handle the display. try { _scanner = new BarcodeScanner(decoder, new MyBarcodeDecoderListener()); _barcodeScreen = new MyBarcodeScannerViewScreen(_scanner); } catch (Exception e) { log("Could not initialize barcode scanner: " + e); return; } } // If we get here, all the barcode scanning infrastructure should be set // up, so all we have to do is start the scan and display the viewfinder try { _scanner.startScan(); _app.pushScreen(_barcodeScreen); } catch (Exception e) { log("Could not start scan: " + e); } } /*** * MyBarcodeDecoderListener *

    * This BarcodeDecoverListener implementation tries to open any data encoded * in a barcode in the browser. * * @author PBernhardt * **/ private class MyBarcodeDecoderListener implements BarcodeDecoderListener { public void barcodeDecoded(final String rawText) { // First pop the viewfinder screen off of the stack so we can see // the main app _app.invokeLater(new Runnable() { public void run() { _app.popScreen(_barcodeScreen); } }); // We will use a StringBuffer to create our message as every String // concatenation creates a new Object final StringBuffer message = new StringBuffer("Would you like to open the browser pointing to \""); message.append(rawText); message.append("\"?"); log(message.toString()); _barcodeScreen.invalidate(); // Prompt the user to open the browser pointing at the URL we // scanned _app.invokeLater(new Runnable() { public void run() { if (Dialog.ask(Dialog.D_YES_NO, message.toString()) == Dialog.YES) { // Get the default sessionBrowserSession BrowserSession browserSession = Browser.getDefaultSession(); // Launch the URL browserSession.displayPage(rawText); } } }); } } /*** * MyBarcodeScannerViewScreen *

    * This view screen is simply an extension of MainScreen that will hold our * scanner's viewfinder, and handle cleanly stopping the scan if the user * decides they want to abort via the back button. * * @author PBernhardt * */ private class MyBarcodeScannerViewScreen extends MainScreen { public MyBarcodeScannerViewScreen(BarcodeScanner scanner) { super(); try { // Get the viewfinder and add it to the screen _scanner.getVideoControl().setDisplayFullScreen(true); Field viewFinder = _scanner.getViewfinder(); this.add(viewFinder); // Create and add our key listener to the screen this.addKeyListener(new MyKeyListener()); } catch (Exception e) { log("Error creating view screen: " + e); } } /*** * MyKeyListener *

    * This KeyListener will stop the current scan cleanly when the back * button is pressed, and then pop the viewfinder off the stack. * * @author PBernhardt * */ private class MyKeyListener implements KeyListener { public boolean keyDown(int keycode, int time) { // First convert the keycode into an actual key event, taking // modifiers into account int key = Keypad.key(keycode); // From there we can compare against the escape key constant. If // we get it, we stop the scan and pop this screen off the stack if (key == Keypad.KEY_ESCAPE) { try { _scanner.stopScan(); } catch (Exception e) { log("Error stopping scan: " + e); } _app.invokeLater(new Runnable() { public void run() { _app.popScreen(_barcodeScreen); } }); return true; } // Otherwise, we'll return false so as not to consume the // keyDown event return false; } // We will only act on the keyDown event public boolean keyChar(char key, int status, int time) { return false; } public boolean keyRepeat(int keycode, int time) { return false; } public boolean keyStatus(int keycode, int time) { return false; } public boolean keyUp(int keycode, int time) { return false; } } } /*** * log *

    * Writes a message to an edit field for debug purposes. Also sends to * STDOUT. *

    * * @param msg * - The String to log */ public void log(final String msg) { invokeLater(new Runnable() { public void run() { _logField.setText(_logField.getText() + "\n" + msg); System.out.println(msg); } }); } }

    My request is properly signed and work very well in the Simulator.

    Thanks in advance.

    Solved.  http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/Support_-_Sign...

Maybe you are looking for