Problem of code signing?

I signed the modules involved in the API:s resitricted access. running the application works for functions as runtime storage, persistent storage, world events, make calls

When you run this code:

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

private void killCall (int callid)
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Kill outgoing call
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
{
try {}
CreateAlert (parameters. Debug, "KillCall 1");
EventInjector.KeyCodeEvent pressEndKey = new EventInjector.KeyCodeEvent)
KeyCodeEvent.KEY_DOWN, Keypad.KEY_END, KeypadListener.STATUS_NOT_FROM_KEYPAD (char));
CreateAlert (parameters. Debug, "KillCall 2");
EventInjector.KeyCodeEvent releaseEndKey = new EventInjector.KeyCodeEvent)
KeyCodeEvent.KEY_UP, Keypad.KEY_END, KeypadListener.STATUS_NOT_FROM_KEYPAD (char));
CreateAlert (parameters. Debug, ' KillCall 3 ');
Thread.Sleep (500);                       May need to wait DTMFTones finish
CreateAlert (parameters. Debug, "KillCall 4");
EventInjector.invokeEvent (pressEndKey);
CreateAlert (parameters. Debug, "KillCall 5");
Thread.Sleep (250);
CreateAlert (parameters. Debug, "KillCall 6");
EventInjector.invokeEvent (releaseEndKey);
CreateAlert (parameters. Debug, "7 KillCall");
Thread.Sleep (250);
CreateAlert (parameters. Debug, "KillCall 8");
EventInjector.invokeEvent (pressEndKey);
CreateAlert (parameters. Debug, "KillCall 9");
Thread.Sleep (250);
CreateAlert (parameters. Debug, "KillCall 10");
EventInjector.invokeEvent (releaseEndKey);
CreateAlert (parameters. Debug, "KillCall 11");
Thread.Sleep (250);
CreateAlert (parameters. Debug, "KillCall 12");
CreateAlert (parameters. Debug, 'Call killed!');
CreateAlert (parameters. Debug, "KillCall 13");
}
catch (Exception ex)
{
CreateAlert (parameters. Error, "Could kill not call" + ex.getMessage ());
}
}

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

I get an exception thrown after

CreateAlert (parameters. Debug, "KillCall 4");

This happens only on a device real and if I put "enable device security" in Blackberry JDE

The only information printed by:

CreateAlert (parameters. Error, "Could kill not call" + ex.getMessage ());

is "could not kill call null.

Disable the security system and everything works fine

BlackBerry JDE 4.6

Simulator of 9000-TMobileEU - 4.6.0.92

You need to change your application permissions in order to activate "Injection of strike."

I also can't ex.getMessage () but you can at least get exception type as follows.

CreateAlert (parameters. Error, "Could kill not call" + ex.getClass () .getName ());

Tags: BlackBerry Developers

Similar Questions

  • Problem with code signing

    Hi friends,

    I am facing problems by signing my code.

    The question:

    * My cod file is 169kb.

    * When I compile, jde generates only one .cod file everything for me.

    The steps that I followed:

    * I opened the .cod in a winrar and extract the .cod files three who were inside.

    * I opened the .csl file and typed "52525400 = RIM Runtime API" to get the signature RRT (as it is a 4.5 API)

    * I registered all of the .cod files.

    * I updated using the Updatejad.exe .jad file

    Now, when I installed OTA, I get the following error.

    Error at startup BugTracker: Module «BugTracker-2 "must be signed with the RIM DURATION Code Signing Key (RRT).»

    How should I proceed? I ve run out of options. Thank you

    Check out the cod file after the signing.

  • More problems with Code signing

    Well, I tried for a week to get my application to sign with no luck. I finally got a new certificate of RIM at the expense from the command line this time, rather than half a Flash Builder, something half line of command, I had tried before.

    Whenever I try to do this line:

    blackberry-keytool -genkeypair -keystore 
         -storepass  -dname "cn=" -alias author
    

    I get this result:

    You have the latest version of Java installed?

  • Code signing problems

    I constantly have problems with Code signing.  I select "Request Signatures" using the JDE.  I then click 'ask '.  Some cod get signed while others fail.  In addition, the process takes about 25 minutes.  Its clearly not a network issue whereas some get actually signed.  The problem occurs on all JDE that are installed.  The application is about 650 k in size. If I run the utility signature repeatedly, it ends by signing all the cod files - however...

    After all the cod files are finally signed, I post the cod files and jad on my web server and clients get an error "907 invalid cod".  I am compiling each version of the application with the corresponding JDE version.

    I am at a loss.  Any thoughts?

    Thanks in advance.

    Nevermind, RIM development support come back to me and told me that their servers were down again.

  • Problem with WebInspector: error: Code signing request failed car-development-Application Mode in the East of the demo is present and is not set [false].

    Hi, I have a problem running the webinspector on my dev alpha.

    Whenever I have create bar folder with the d flag, and then run the signature tool, I got the error message:

    Error: Code signing of the petition failed because Application-Development-Mode demo
    is is present and not set [false].

    How to solve this problem? If I generate the .bar without the flag - d, can I sign and execute on the device, but without web Inspector

    I found the error

    I just had to use the indicator g in bbwp and set my password

    and not reuse bbwp and then the signing tool

  • problem on mac code signing

    Currently, I just have a problem concerning the signing of the app using webworks api for playbook.

    In particular, I already could package it in a bar in the file but just cannot sign.

    I followed all the instructions to

    1. http://docs.blackberry.com/en/developers/deliverables/23977/Configure_signing_for_tablet_application...

    2. http://docs.blackberry.com/en/developers/deliverables/23977/Sign_the_cod_file_for_a_BB_Widget_applic...

    And it seemed that I have successfully registered my account because I have the following message in my mailbox:

    An application for registration is completed successfully for the customer "xxx".  The client left or code xxx signing requests.

    The customer has returned the following message is displayed:

    Customer "xxx" registered successfully with the server ID RDK signature and now attempts remaining xxx code signing.

    Then when I run the command:. / bbwp ~/Dropbox/Interceptr.zip /gcsk /gp12 123456 123456 /buildId 1/o/Users/xxx/Desktop (I replaced my real pass in this email with string 123456)

    I had the rest of the console message:

    [INFO]       Parsing of the command line options

    [INFO]       Bbwp.properties analysis

    [INFO]       Validation of archive WebWorks

    [INFO]       The analysis of config.xml

    [WARNING]   Cannot find an element of

    [INFO]       The application of filling source

    [INFO]       Compiling applications WebWorks

    [INFO]       Packaging of the record bar

    [INFO]       Bar complete packaging

    [INFO]       Start signing tool

    error barsigner: developer certificate and private key not found in the keys file or store the password not supplied

    [ERROR]     Signature failed

    and using blackberry-signatory gives the same result:

    . / blackberry-sign-verbose - cskpass 123456 - keystore sigtool.p12 - storepass 123456 ~/Desktop/Interceptr.bar RDK

    error barsigner: developer certificate and private key not found in the keys file or store the password not supplied

    I wonder if anyone has any ideas on this subject?

    Here are the exact steps I followed. I tried twice and havn't seen the questions either WinXP or Win7

    updating PATH env variable to add all the paths to the tools

  • What is the problem with the form of code signing?

    I would ask code signing for BB10, I go to https://www.blackberry.com/SignedKeys/codesigning.html BUT when I choose sign app for BB10, it always go to the BlackBerry ID login page

    A few months ago anymore, at least not in the way you have used for a signature key. Is now complete with your BlackBerry ID now, hence the need to connect. It used to be a sticky thread at the top of the Council of native development, but I see that they removed that now.

    Go here.

  • Cannot publish apps, code signing problem...

    Hello

    I received a set of three keys to RIM and I am able to enter in (Eclipse: Blackberry-> Signature request) and have all my files "signed" (it seems that there are a total of 21 signed files). However when I put it on the web for the publication, my blackberry was telling me that the code is the appropriate signature.

    What confused me most, is that the tool showed me a total of 21 cases of cod signed. I have only a single application, it should not just show me a single file instead of 21 of them. The list of files goes like this (Polyglotz is the name of my application)

    Polyglotz.cod... signed...

    Polyglotz.cod... signed...

    Polyglotz.cod... signed...

    Polyglotz - 1.cod... signed

    Polyglotz - 1.cod... signed

    Polyglotz - 1.cod... signed

    Polyglotz - 2.cod... signed

    Polyglotz - 2.cod... signed

    Polyglotz - 2.cod... signed

    Polyglotz - 3.cod... signed

    Polyglotz - 3.cod... signed

    Polyglotz - 3.cod... signed

    Polyglotz - 4.cod... signed

    Polyglotz - 4.cod... signed

    Polyglotz - 4.cod... signed

    Polyglotz - 5.cod... signed

    Polyglotz - 5.cod... signed

    Polyglotz - 5.cod... signed

    Polyglotz - 6.cod... signed

    Polyglotz - 6.cod... signed

    Polyglotz - 6.cod... signed

    The file Polyglotz - 1.cod, Polyglotz - 2.cod, Polyglotz - 3.cod, Polyglotz - 4.cod, Polyglotz - 5.cod and Polyglotz - 6.cod are all located under different directory EvsJXuSa\

    In any case, I copied all the files to my Web site, set the configuration of mime types in the file .htaccess as suggested by RIM to

    http://www.polyglotz.com/index.php?option=com_content&task=view&id=79&Itemid=40

    but whenever I tried to download and install the application using the web browser on the device, I kept getting the message saying that the application is not signed correctly.

    I'd appreciate very much any help that you could give me.

    Kind regards

    If you want to distribute your app via OTA and if your application also contains brother cod files the following:

    Rename your cod for zip file. Unzip it. Delete the generated file.

    And extacted *.cod file with your jad file (you don't need to edit the jad file) to the server.

    Visit this link for more technical information:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800708/800646/What_Is...

  • Code signing certificate renewal problem

    We recently renewed our Verisign code signing certificate, only to find out that it breaks the process of automatic update with the notorious error "this application cannot be installed because this installer has been misconfigured." We were able to make it work using the ADT-migrate command. It's all good and wonderful. But there are two issues I see. First of all, there is a limit of 180 days, beyond which users is no longer updated. Then, when our certificate gets renewed next year, we could be stuck in a situation where we have to choose which users get to update and who are orphaned and are forced to uninstall/re-install.

    Also, how much of this we have to live with the pain becomes a function of how long a certificate we are willing to pay for. If we are a small company of doubling money for a year 3 certificate could be painless. Why should that be a factor? Why is it not simple to renew the same certificate and have facilities at the beginning of time be well with him?

    Maybe there's something about the renewal process which is not fair. However, when I renewed my cert of Verisign that their process fairly well got me to keep everything about the renewed cert, identical to the original, otherwise it would not be a "renewal."

    If there is something arcane we miss them I'd appreciate it more for what it is. It shouldn't be this difficult.

    Thank you

    Kevin

    Hey Kevin,

    I asked around and learned that the process you describe is "as planned."  However, there are strategies to minimize the disadvantages.

    For more information, please see the following documents:

    AIR 2.6 periods Migration Signature Grace

    Update strategies for changing certificates

    Regularly update your Applications

    Code singing in Adobe AIR

    Hope this helps,

    Chris

  • Code sign VISA raw driver USB for Windows 8

    Hi guys,.

    I wrote a LabVIEW program that communicates with a measuring using NI-VISA (class raw USB) USB device.
    With the development of Driver NI-VISA Wizard, I created two .inf files of drivers (for XP/2000 and 7/Vista).
    It works like a charm on my computer (Windows 7, 64-bit) and on the computers running Windows XP and 32-bit versions of Windows Vista and 7.
    I also have to work on 64 bit versions of Windows Vista and 7 using "disable driver signature enforcement" before installing the driver.
    Once the driver is installed, it is listed under "devices USB of NI-VISA" in the Windows Device Manager. After that I can reactivate the driver signature enforcement, the unit will continue to work, even after a reboot.

    Alas, in the 64-bit version of Windows 8 is not as simple as that. Yes, you can temporarily disable driver signing enforcement, but not on computers that use 'secure boot' or UEFI.
    I know that there are ways to disable booting UEFI's secure, but I don't want that on our customers computers. It seems wrong, and could introduce a large number of security problems.

    The next logical step would be to sign the device driver. Our company has a valid kernel mode code signing certificate and we signed the other drivers with it in the past.
    The problem is that I don't know how to sign my device in the NI-VISA database driver. According to the .inf file it uses WinUSB.sys, a Microsoft USB generic driver (part of the Windows Driver Kit, I think).
    Winusb.sys is already signed by Microsoft and that I could replace the signature, but that probably won't work without some tweaking inf and generate a new catalog file.

    Can someone please give me some pointers on where to start? As a reference, I have attached one of the inf files for this post. This inf file works on Windows Vista and 7.

    It is even possible to create a signed driver based on NI-VISA raw?

    Thanks in advance for your help.

    Paul

    Here's a knockout who described workaround.

    http://digital.NI.com/public.nsf/allkb/36DB8D6AC385052786257A940066A421

    What you have written, you need to generate a catalog (.cat) of the inf file (as described in step 1 of the KB) and then sign the .cat with your certificate file, the same way you would sign your other components. The inf and CAT are always distributed together. The inf file contains information about the cat file that has the signature, and the cat file contains the signature information. Since you have already been distributing the components signed with your own certificate, I'm sure you can understand the process, but please let us know if you have any other questions.

    Thank you

    Pankaj

  • Process * \MCSHIELD. EXE the nest (428) contained code signed or corrupted and could not perform an operation with a McAfee driver.

    XP SP3 system

    I get warnings like this when Mcafee updates.

    Process * \MCSHIELD. EXE the nest (428) contained code signed or corrupted and could not perform an operation with a McAfee driver.

    Process * \SVCHOST. EXE the nest (1632) contained code signed or corrupted and could not perform an operation with a McAfee driver.

    Is this a problem Microsoft or Mcafee?

    Do I need to fix?

    In the McAfee forums, there are several similar positions such as:

    https://community.McAfee.com/message/241542

    I'll sue your question on in their community, as they already seem to know about it.

    I would also say that, unless you are very fond of McAfee or you are forced to use it, you plan to replace it with something that has a smaller footprint, uses less resources and doesn't have these problems - something like Microsoft Security Essentials, you can get here:

    http://Windows.Microsoft.com/en-us/Windows/Security-Essentials-download

    MSE completed with the free version of MBAM and SAS should permanently keep your clean enough unless you're a daredevil like me:

    Download, install, update and do a quick scan with these free malware detection programs (not at the same time) and remove all threats:

    Malwarebytes (MMFA): http://www.malwarebytes.org/products/malwarebytes_free
    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/

    SAS will probably report a lot of tracking cookies and you can just let him delete them.

    Even if you keep McAfee, I always supplement it with MBAM and SAS since no single AV program does seem to know everything.  If your McAfee of your system is clean, I would interpret that means - McAfee found nothing, says he knows.  It is prudent to use more than a reputable scanner to get more coverage.

    If you choose to spend (and you can't have both at the same time), you must be sure to use the uninstaller that you can get from here:

    http://service.McAfee.com/FAQDocument.aspx?LC=1033&ID=TS101331

    Your system will give you better performance.

  • Lost the ability to create tokens of debugging: error: Code signing request has failed because the value debug token of Type Package is not allowed.

    I have been a token of debugging and apps on my device Z10 hundreds of times from the command line and Momentics but this time I am confused.

    I am trying to create a token of debugging (in command line and Momentics) and deploy it in my Z10 camera, but it does not work.   In both cases, I get the following error.

    "Error: Code signing request has failed because the value debug token of Type Package is not allowed."

    2 things have happened recently that make this potentially different situation.

    a.) now my device is currently running OS 10.2

    (b) there was something new regarding signing apps with your blackberry ID?

    I was a little out of the loop for 1-2 months so please forgive me if this problem is very obvious... I am looking for a clue to what I'm doing wrong.

    This has been fixed on both of your accounts.  It was a problem of account setup.  We're looking at what caused it to prevent it from happening in the future.

  • Code Signing - different version of the JDE

    I'm back-porting an application 4.2 to 4.0. I copied the files sigtool directory 'bin' JDE 4.2 in the 'bin' JDE 4.0 directory. However, when I try to sign the COD files, the operation fails. The 'detail' says:

    "The signature on the request of code signing did not check.  The probable cause of this problem is entered an incorrect password. »

    The password is correct and checked several times. There is another reason for this failure? Am I missing a step when you move files sigtool 4.2 back to 4.0?

    The original JDE (the application was developed on) is 4.2.1. One where I am signing is 4.0.2.

    This link explains the changes in version 4.3.0.  It is the only version of the Pack BlackBerry JDE/component where the format of these files has changed.

    What's – the Signature key format changes in BlackBerry JDE 4.3.0
    Article number: DB-00639

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800989/What_Is...

  • Code signing error

    Hello

    I have this quite annoying error for my blackberry 5.0 application. Most of the methods and classes of RIM is display code signing errors when I'm clearly registered my app and the app runs on my camera as well. I'm unable to retrieve all the data from my db but I am able to write data to my db. Help, please.

    Thank you & best regards

    Vishnu pascalp

    OK I got the problem. The .cod file was not have written... its working fine now.

    Thanks for the help.

  • Code signing Server

    Where can I see the health of the code signing feature? My signature attempts have failed since Saturday. I just tried there and the service still not answering any request for signature.

    Note that the problem with JDK 7.0 and the SignatureTool has been fixed in BlackBerry Java SDK 7.1.  You can find the details here: http://supportforums.blackberry.com/t5/Testing-and-Deployment/SignatureTool-Stops-Responding-While-S...

Maybe you are looking for

  • Yahoo email?

    Greetings, Use email Yahoo on my Windows PC, each email had a small selection box that would allow me to move an e-mail without opening it. I have not this selection box on my Yahoo email in my iMac. How can I get this feature to appear? Thanks in ad

  • Dungeon of network stopping while playing games on facebook

    While playing games on FB my games stop always wjth a message saying that the system does sometimes screen goes out.

  • How to delete file search history? __

    Hi can anyone tell me how to clear history folder? [Not the browser history]

  • When I click on Windows Update, he says that he cannot work and maybe I have to restart the computer.

    Hi, when I click on Windows Update it says that he cannot work and maybe I have to restart the computer. But when I do it always appears with the same. In services, it is configured to automatically update windows and is started. Can anyone help?

  • Does not open the MPG4 files

    Running Vista Home Premium.  Try to download a patch from microsoft to allow opening the MPG4 files.  I keep getting "Setup cannot continue because one or more prerequisites to installation of KB835861 failed.  For more details, see the log file C:/W