This is the second post in packaging a Construct 2 game as a BlackBerry 10 application. Previously the recommendation was to request Code Signing Keys from this form:
These keys are issued by an automated system, hourly, and when the keys arrive to your email, they should arrive as two (2) separate emails; each with a unique attachment.
######## simply refers to a unique string of numbers in the filename.
You will also need to download the BlackBerry 10 WebWorks SDK. This SDK contains the packaging tools to take your HTML files and create a BlackBerry 10 application. These can be downloaded here:
The current version of the BlackBerry 10 WebWorks SDK is 184.108.40.206. Download the installer and install to the default directory. For this example, we'll be using the following working directory:C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 220.127.116.11
The first thing you'll want to do is to copy the two CSJ
files you received as Code Signing Keys and save them to the following folder:C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 18.104.22.168\dependencies\tools\bin
Once copied there, you will need to open a Command Prompt / terminal to that location. If you are not familiar with the terminal, have no fear, we're only there for a short time and I'll do my best to make it as simple as possible.
In Windows Vista / 7, if you hold Shift
within the Explorer Window, you should get a Context Menu pop up. One of those items should be:Open command window here
By clicking that, you should get a Command Prompt window that is opened to:C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 22.214.171.124\dependencies\tools\bin
At this point, we want to execute one command to register our code signing keys. The command looks as follows:blackberry-signer -register -csjpin CSJPIN -storepass STOREPASS client-RDK-########.csj client-PBDT-########.csj
needs to match the PIN you created on the online form, STOREPASS
is a NEW password you are creating. You will need to enter the STOREPASS each time you create a BlackBerry 10 application, so make it something you will remember. And finally the ########
would be replaced by the numeric string in your specific code signing files.
Run the command by hitting enter
and you should get a message that the code signing keys were successfully registered.
You should now be at the point where:
* You have modified your project with the config.xml
* You have downloaded and installed the BlackBerry 10 WebWorks SDK.
* You have requested and registered your Code Signing Keys.
All that remains now is to actually package your Construct 2 HTML files into a BlackBerry 10 application. I'll cover that in my next post.If at any time you have any questions or run into issues, do not hesitate to reach out here or directly at ([email protected]).