For forums, blogs and more please visit our
Developer Tools Community.
By: Tim DelChiaro
Abstract: Steps to deploy BlackBerry apps using HTML5 Builder XE5 in RAD Studio XE5
This page covers deployment of mobile applications for BlackBerry devices.
Go to Home > Deploy to Mobile, and follow these steps:
Note: The folder you choose will be where all files and folders will be generated. You might want to create a new folder for your build.
On the Export page, your PhoneGap folder will be exported to the destination folder as www, and archived as a Your Application.zip file there too. Wait for the process to finish.
There are some things you might want to do on the www folder before you continue, some of the possibilities are listed below.
Warning: You must create the archive from the contents of the www folder, not from the folder itself.
If you included in your application any external resources, like image files, you must copy them into www.
By default, your application is supposed to work both on portrait and landscape orientations. If you want to support only one orientation, edit the config.xml file you will find inside the www folder, and add the following line inside the <widget>…</widget> tags:
Replace orientation by either portrait or landscape.
Once the PhoneGap project folder is ready, you can build the final application either remotely, using the PhoneGap Build service, or locally. If your system is configured to build BlackBerry applications, you will be given both choices. Else, the PhoneGap Build service will be selected for you.
See PhoneGap Build for instructions on how to build your application remotely, or continue reading to build it locally.
Note: You must prepare your system to build your applications locally. See BlackBerry Setup.
To build your exported PhoneGap project for BlackBerry:
Warning: In Windows Vista, Windows 7 and Windows 8 your must run it as administrator.
You will find your application in <exported folder>\build\device\<project name>.bar. You can now deploy that .bar file to the App World. To do so, check the steps in BlackBerry Documentation: us.blackberry.com/developers/appworld/.
To run your application, see Deploy to a simulator and Deploy to a device in the BlackBerry WebWorks documentation.
Could not retrieve comments. Please try again later.
Click here to download a free 30-day trial of HTML5 Builder, part of RAD Studio>
@RADtools on Twitter
Server Response from: ETNASC04