Introduction:
è Blackberry having two different development environments for Hybrid (HTML5) application called Webworks application and Phonegap application.
è In blackberry, better we should use the Webworks application, instead of Phonegap application.
è Blackberry devices till 6.0 version does not having the enough memory management.
è Due to this blackberry Phonegap application causing the memory leak issue.
è We can achieve the features available in Phonegap through Webworks.
è Using Webworks we can add native functionality to our HTML5 application.
è We can get full access to the platform APIs through JavaScript wrappers.
è Here I listed the problems faced during the Blackberry application development.
Blackberry Installation steps:
WAY 1:
è Download Blackberry Webworks packager (BBWP) from below link
https://bdsc.webapps.blackberry.com/html5/download/sdk
Change the installation path and Install it in the C:\BBWP\
è Get the signing keys from blackberry from the below link. Fill the form and submit. You will receive three signature files. You must have to give your company and company mail id.
è To Install the signature follow the below doc.
START:
The following attachment will allow the BlackBerry SignatureTool to register with the Signing Authority. Please ensure that the BlackBerry development tool of choice has been installed onto the workstation that will be used to sign your BlackBerry applications.
To register the attachment, please follow the instructions below:
If you plan to use both the BlackBerry JDE and BlackBerry JDE Plug-in for Eclipse install the signature keys using the BlackBerry JDE. This should allow you to sign from either tool.
BlackBerry JDE or BlackBerry JDE Component Package Users:
1) Double-click on the attachment.
2) If a dialog box appears that states that a private key cannot be found, complete steps 3 through 6 before you continue. Otherwise, proceed to step 7.
3) Click "Yes" to create a new key pair file.
4) Type a password for your private key of at least 8 characters, and type it again to confirm. This is your private key password, which protects your private key. Please remember this password as you will be prompted for it each time signing is attempted or a signature key is installed.
5) Click "Ok"
6) Move your mouse to generate date for a new private key.
7) In the "Registration PIN" field, type the PIN number that you supplied on the signature key order form.
8) In the Private Key password field, type the password created in step 4.
9) Click "Register".
10) Click "Exit".
11) Repeat this process for the other .csi files.
BlackBerry JDE Plug-in for Eclipse Users:
1) Save all 3 .csi files in the same directory (each one will be sent in a separate email message).
2) Start Eclipse.
3) Click on the Window menu item then Preferences, expand BlackBerry Java Plug-in then select "Install New Keys...".
4) Select one of the 3 .csi files saved in step 1 and click Open.
5) Click "Yes" to create a new key pair file.
6) Type a password for your private key of at least 8 characters, and type it again to confirm. This is your private key password, which protects your private key. Please remember this password as you will be prompted for it each time signing is attempted or a signature key is installed.
7) Move your mouse to generate date for a new private key.
8) In the Registration PIN" field, type the PIN number that you supplied on the signature key order form.
9) In the Private Key password field, type the password created in step 6.
10) Click "Register".
11) Click "Exit".
12) Repeat this process for the other csi files.
BlackBerry Widget SDK, BlackBerry Web Development Plug-in for Eclipse or BlackBerry Plug-in for Microsoft Visual Studio Users:
1) At the command prompt, navigate to the bin folder within the BlackBerry Widget Packager installation directory. Default directories are:
BlackBerry Widget SDK and BlackBerry Plug-in for Microsoft Visual Studio:
C:\Program Files\Research In Motion\BlackBerry Widget Packager\bin BlackBerry Web Development Plug-in for Eclipse:
2) Type the following command, including the full path of the .csi file:
java -jar SignatureTool.jar <.csi file path>
3) If a dialog that a private key cannot be found appears, perform the following actions:
a. Click Yes.
b. Type a password for the private key.
c. Type the password to confirm it.
d. Click OK.
e. Move the mouse to generate data for the new private key.
4) In the Registration PIN field, type the PIN that RIM. provided.
5) In the Private Key Password field, type a password of at least eight characters. This is the private key password.
6) Click Register.
7) Click Exit.
Important information for all users:
Note: All 3 keys (RBB, RCR, RRT) received need to be installed on the same PC. The same password must be specified for all keys on the same PC. You should receive each key/.csi file in a separate email message.
For further information on BlackBerry Controlled APIs and signing of applications, please refer to the BlackBerry Signature Tool Developer Guide version 4.2.0, found at the following link:
Please note: When registering with the signing authority, ensure that you have correctly entered your registration PIN number. If you enter the incorrect PIN 5 times, your keys will be deactivated.
Troubleshooting:
If you are having difficulty installing or registering your signature keys please check the Signature Key and Code signing section of the Developer Knowledge Base found here: http://supportforums.blackberry.com/t5/Testing-and-Deployment/tkb-p/Testing_and_Deployment_of_Applications%40tkb#/?sort_by=-topicPublishDate&page=1&restrictionStates=no_filter&labels=signature+tool+%2526+code+signing&breadCrumb=%5B%7B%22label%22%253A%22signature+tool+%2526+code+signing%22%252C%22fieldName%22%253A%22labels_signature+tool+%2526+code+signing%22%7D%5D&publishRangeTime=0&attentionState=no_filter&search_type=message
The BlackBerry Development Support Forums can also be a great resource in overcoming hurdles when developing with the BlackBerry platform. Check them out here: http://supportforums.blackberry.com/rim/?category.id=BlackBerryDevelopment
If you continue to experience issues please contact devsupport@rim.com.
Best of luck with your development and thank you for your interest in BlackBerry
END:
WAY 2:
Blackberry Installation steps
Download BlackBerry_JDE_PluginFull_1.3.0.201102031007-19.exe from
http://us.blackberry.com/developers/javaappdev/javaupdate.jsp
Install it
Follow below link. In this link start from Develop a PhoneGap Application Using Eclipse IDE
http://wiki.phonegap.com/w/page/31930982/Getting-Started-with-PhoneGap-BlackBerry-WebWorks
Please note: On installing new software update, it will ask username and password.
Use the blackberry username and password for that.
Username: sunwebsite@gmail.com
Password: Abc123456
WAY 3:
Download blackberry email and MDS services simulator from below link
https://swdownloads.blackberry.com/Downloads/entry.do?code=996009F2374006606F4C0B0FDA878AF1
Install it into windows
Download the simulators you want from the below link
http://us.blackberry.com/developers/resources/simulators.jsp
Install the simulator
To run this application
Start the MDS.exe first
Then, Start simulator in which you want.
Now we have done with the blackberry environment setup
No comments:
Post a Comment