I have done 1 application for mobile in html5 and I have to make .jad or .ota file for blackberry using phonegap.
* I get 1 error during building app. Its the signing error . How to sign my app using blackberry? How to get blackberry keys in my mac?
* I get .csj and .csi files from RIM but I dont know detailed procedure for it . So help me out .
* What is "907 cod file not found error" ? How to overcome that error?.
Thanks In Advance.
BlackBerry has a nice article on how to request, create, and use Code Signing keys on Windows XP, Windows 7, and Mac OS.
Related
My wife and I are currently working on a Phonegap Build app for distribution in BlackBerry World; however, whenever we try to run the app on a BlackBerry, we get the message "Error starting [TheApp]: Module ‘[TheApp]’ attempts to access a secure api."
We know that there are a lot of questions out there about this particular error and even some that pertain to Phonegap, but there don't seem to be any that answer the question from a Phonegap Build perspective or solve our particular problem. The most common answer seems to be that the application has not been signed or has not been signed properly, but this should not be case as we successfully uploaded out sigtool.csk and sigtool.db files to Phonegap Build and no error was raised when building for BlackBerry. Also the local installation of the 3 code signing files (RBB, RCR, RRT) that we did through the BlackBerry Eclipse plugin in order to obtain sigtool.csk and sigtool.db was successful. There are also a lot of answers out there pointing to the incompatibility of JDK 1.7 and Signature Tool, but we are using JDK 1.6 JRE 6, so this should not be the problem either. We also thought of requesting signing keys with access to the secure element from BlackBerry, but those keys seem to be for NFC only, and the app we made doesn't use any NFC, unless Phonegap Build causes it to call some NFC api for some reason.
Any help or suggestions would be greatly appreciated. We are using Phonegap v2.7.0 in Phonegap Build.
I'm building a BlackBerry App using jQuery Mobile + PhoneGap. After I zip my project files and upload it to phonegap I get a list of platforms.
The BlackBerry file is listed as OTA install.
How can I download the Standard install?
In order to download the standard install using the Phonegap website you must first provide PhoneGap with a signing key from BlackBerry.
Detailed instructions on getting the signing keys onto the PhoneGap website can be found in one of my previous questions. Where to get BlackBerry CSK File for PhoneGap?
After uploading the keys and rebuilding the button might still say OTA install but try clicking download because in my situation the download was Standard Install despite saying OTA install.
Currently I use Ripple "Package and Sign" option, and then use Blackberry Desktop Manager (with my blackberry connected to PC via USB) to import then apply the app. What annoys me is the whole process takes min 10mins sometimes 30mins all up.
I try to skip the "Sign" option, ie use "Package" only but when running the app from the device it gives me this error: "Error starting X: Module 'X' attempts to access a secure API".
Questions:
How are you installing the app on blackberry during Dev/Test?
How are you distributing the app for PROD release?
I have heard we can distribute via Wi-Fi or just sending someone a link to download the app, but cant really find much info on it. Any help?
You have to sign Webworks apps that you intend to use on the phone. Test as much as you can in the simulator, since it has the fastest turn around time between compiling and running the application.
Appworld is probably going to be your easiest distribution method if you intend on having users buy your app.
If you want to use the internet/WiFi option, you'll need to have a webserver/site you can upload all the *.cod and *.jad files that are built when you package the app. Then point the people downloading the app to the .jad file and their phone will try to install it for them.
I want to use PhoneGap to sign my BlackBerry App. When I go to add the key files it asks for a CSK file.
I went to https://www.blackberry.com/SignedKeys/ and requested keys.
However the files sent to me were 3 different CSI files(RBB, RCR, RRT).
How and where can I get the CSK and DB file needed to sign apps on PhoneGap?
First you need to install the blackberry SDK (as part of Eclipse if you're using this IDE, otherwise get the standalone java one).
Then follow these steps.
Basically this will store your key locally, then you create a backup of it in the form of a .csk+.db files.
Adobe® PhoneGap™ Build currently provides a default BlackBerry development version for all users, which provides an Over-The-Air install for your PhoneGap applications. However, to distribute your own BlackBerry applications, you will need to register with RIM for your own keys, and then import those keys into PhoneGap Build.
To register, fill out the form on RIM's site , and, once you receive your keys, follow the installation process locally.. using the steps mentioned here
Actually we have developed java midlet application , that needs to be downloaded through given link. From nokia , sony , etc we are able to download the application successfully.
But, when we are accessing the site through BlackBerry , we are not able to download the application . What I am doing wrong here. Whether I need to follow any procedure to install the application in blackberry mobile. Any one help me out of this problem..
Thanks.
What is happening when you click on the JAD file in the BlackBerry browser? Do you have the MIME types for JAD and COD files set properly in your webserver? The following link has some useful tips on setting up your server for OTA installations: http://www.berryreview.com/2007/12/10/faq-how-to-install-a-cod-file-ota-over-the-air/
You just place your jad and cod files onto server and open link to jad in browser (You may use Browser class).
Also look at the RIM Deploy and Distribute guide (section Over The Air).
Dont forget unzip your big compiled cod file, before placing onto server.