How to Import Existing Keys on blackberry - blackberry

In my System C: blackberry eclipse ganymede has been installed. in D: blackberry eclipse galileo has been installed. i'm working on galileo version. Now i installed bb java blugin 1.3.0 (helios) on C:.
I get 3 files (sigtool.csk, sigtool.db, sigtool.set) from
D:\BB_Eclipse_Galileo\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\bin and save the three files on another location.
i import existing key in helilos, i navigate to the saved path. it successfully completed.
When i signin in helilos, its throws"Unable to perform code signing operation for the client because they have no signing attempts left."
But when i check on galileo. its successfully signin.
Pls help which files have to import.

You should check out the article Backup and Restore BlackBerry Code Signing Keys.

Related

Blackberry Application and Signing key

i am Android developer, i just started to learn about Blackberry Application Development. i want to ask you something about Application and Signing keys.
I have downloaded 3 signed keys (*.csi) files. and i have installed it and added in first demo application to run app on real device. it is working and running fine in real device.
now i have created second demo application, it is also working well in simulator. but when i am trying to launch it in real device. it is loaded/installed successfully but when i am tapping on icon or trying to open application. it is not opening/running on device.
in second project, i tried by right click on project > Blackberry > Sign With Signature Tool. but it is signing only two files while in my first demo application it is signing 3 files.
also it is not generating .csl file in second application.
Please help me.. Thanks in Advance..
Ajay, will you describe your exect problem actually no of signing the file depends how many .cod file are there in your build ( You can check it by rename your .cod file and change its extension by zip and then extract it)
for more detail regarding the BlackBerry app signing process you can follow these steps.
http://supportforums.blackberry.com/t5/Testing-and-Deployment/BlackBerry-Applications-and-code-signing-Start-to-Finish/ta-p/445848
There are cod files which require signing and some others are optional. Once all the signatures are correctly added, then the *.cod and *.jad can be copied.
Now *.cod can be extracted by renaming the same to *.zip. By extracting the zip file along with the *.jad the same can be used to download to blackberry devices. If this is directly uploaded to blackberry device through USB, then *.cod, *.jad and *.alx can be copied and used , no need to extract the *.cod

how to run application on real device in blackberry?

I have installed Blackberry on Windows7. I got all three .csi files from BB. I have done all the procedures and got a successful response from there. Then i right clicked my project and clicked on "sign with signature tool". After signing i loaded this project on Blackberry Bold Device.
Now My Device Shows the installed icon on screen but when i try to open this project it says that "attempts to access a secure api." how to resolve this problem.
For resolving this problem i have also Disabled my UAC. I am working on eclipse Helios.I installed Blackberry Plugin with this exe file. "BlackBerry_JDE_PluginFull_1.5.0_helios" is there a problem with this setup.
I am not able to launch a simple helloworld application on Device. I have tried all the help from internet but still i have not succeeded. plz help to resolve this critical issue.
You need to sign your application. Contact RIM for signing keys. Install them and sign your app before installing on actual device.
Check this link to obtain signing keys: https://www.blackberry.com/SignedKeys/

BlackBerry code signing problem in Eclipse

I received the signing keys from RIM and installed via the Eclipse Plugin for BlackBerry. After I install the new keys,and then go to the Blackberry Java Signing tool, I can see the import existing key option is deactivated.
Where can I find sigtool.db and signtool.csk files?
How do I sign code for a particular application from Eclipse 3.5 Galileo?
sigtool.db and signtool.csk files can be found in C:\Eclipse\plugins\net.rim.ejde\vmTools
Please go through the "How and When to Sign" document from blackberry
Code singing can be little difficult with eclipse. I had the same problem. Solution is:
goto the eclipse root directory and locate SignatureTool.jar :
\yourEclipseDir\plugins\net.rim.ejde\vmTools\SignatureTool.jar
run SignatureTool.jar file for code signing.

Blackberry jre configuration

I am new to that Blackberry development platform.
I installed eclipse plugin for blackberry successfully.
Now when creating the project its showing no jre click configure jre when clicked and configure and select whenever option its shows the same error then I go to that update site and install the sdk but after downloading its shows error like
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile..
Please help me create my first BB app here.
Can't send more logs because I have 9 reputation and require 10 reputation for adding hyperlinks
Well, try this out
Remove BlackBerry plugin from Eclipse, shut eclipse down.
Next go to BlackBerry developer website (register, its free I think), get the correct SDK your handset has, install it.
Add the home directory of this SDK to your path.
Now launch Eclipse, go get the BlackBerry plugin and install it. Now try creating a BlackBerry project, it should work.
If it doesnt, try running one of the sample apps that get shipped with the SDK in Eclipse, say the "Hello World" app. If it works, modify it for your project.

Blackberry - application signing

From what little is available on the Internet for signing BB apps, I can guess that we just need the .cod file for signing an app and don't need the source code.
Can someone please confirm this?
Your .cod file is generated automatically when you compile your code. You'll only need to sign it if you use any of the controlled API's: Runtime API, Blackberry Apps API and Crypto API.
You then register with Blackberry (which is free, but requires a credit card), they issue you with a signing key which you then use to sign all future cod files.
I use Eclipse with Blackberry JDE plugin and by navigating to the Blackberry -> Request Signatures.. dialog you will see if any of your .cod files need signed.
I wrote an article in Feb 2009 about this and it seems to have helped quite a few people:
BlackBerry Code Signing Help, Part II
Slight correction to #Fermin. If you don't have the source code, you need the .cod file and the .csl file (and optionally the .cso file) - all of which are generated by RAPC (usually invoked through the JDE, or the Eclipse Plug-In).
The .cod is what will be loaded onto the device, the .csl and .cso are files for the BlackBerry signature tool that tell it which signatures are needed (respectively, they list the required and optional keys needed for your app). If you don't have those 2 files, the signature tool will think no signatures are needed and won't sign the .cod, which will then fail to run on your device.
If no .csl file was generated, it means that there are no required signatures for your .cod, and you can run on the device without signing.
EDIT: Also the code signing keys are only $20 USD, and it's a quick process.

Resources