Deploying to Blackberry Devices
The AppStudio client can be installed on BlackBerry devices in several ways:
- BES push: The Blackberry Enterprise Server pushes the device application onto devices. This method is appropriate for devices that are BES-administered devices.
- Over-the-air pull: Devices initiate a request for the client application via a URL. This option is appropriate for consumer-oriented applications; it is also the only option that is available for other platforms.
- App World deployment
Adding mobile users
Adding mobile users to the AppStudio client entails configuring access through the BlackBerry Enterprise Server’s Mobile Data Service, and configuring their IDs using AppStudio.
To add a new mobile user to a AppStudio app:
- Add the user to BES (see Add users to MDS).
- Subscribe the user to the required IT policy (see Subscribe users to IT policies).
- Set up the user in AppStudio by adding the user’s ID, name, and other related information in AppStudio's User Manager.
BlackBerry Enterprise Server supports AppStudio application installation without over-the-air download. To configure BES for push, see BlackBerry Enterprise Server Configuration.
For more on this feature and the steps to conduct a provisioning application installation on a BlackBerry, see RIM documentation.
BlackBerry devices are likely to run on different operating systems, requiring a different configuration of product files for BES over-the-air push support. AppStudio provides two folders that contain the .cod and .jad product files that are required by BlackBerry 5.0 and 6.0, respectively.
This installation method requires a mobile user to click a link that downloads the client application to the mobile device.
In order to enable over-the-air pull, you must copy the .cod and .jad files for your mobile applications to the deploy folder of your AppServer directory:
- Extract your application's .cod and .jad files from this zip file:
Files are grouped by product, installation type, and BlackBerry device operating system.
- Navigate to the deploy folder where you installed the AppServer—for example:
- Copy the .cod and .jad files into the appropriate location within the deploy folder—for example:
For more help determining which files are appropriate for your licensed products, contact AppStudio customer support.
- For a single application, email mobile users a link to the appropriate AppStudio product installer as follows:
This link downloads a single application—in this case, AppID 1.
For more than one application, email mobile users a link to the appropriate AppStudio product installer as follows:
This link lists the full set of applications available to all devices.
- From the mobile device, the user browses to the address, downloads the appropriate AppStudio client application or applications, thereby installing it on the device.
- The end user runs the installed AppStudio client application from the Home screen.
Upgrading to the latest application
You can alert mobile users to upgrade by setting the minimum version and the URL to the AppStudio client files in AppStudio Application Properties. For more information, see Upgrading Client Software for Mobile Users.
App World deployment
To deploy applications via BlackBerry App World, you must register with BlackBerry; otherwise registration is not required.
After registering, follow App World’s process to submit your application. The process includes:
- Providing information about your application and company.
- Uploading BlackBerry application COD files.
- Making your application available for download through App World.
You must register with BlackBerry to deploy BlackBerry mobile applications through App World:
- Go to the App World page at:
- From the App World page, obtain an account and find the link to submit your application.
- After registering, follow the App World’s guided process to submit your application.
To enable deployment of BlackBerry applications from App World and via corporate over-the-air downloads, you must configure the BlackBerry application with the ability to detect the download source. You do so by editing the web.config file to handle upgrades when deploying from both a corporate over-the-air and the BlackBerry World by following the processes in the next section, Setting BlackBerry Download Location Redirects.
Setting BlackBerry Download Location Redirects
AppStudio offers delivery of some applications through corporate servers as well as App World, iTunes, and the Android Market. BlackBerry mobile devices require that application upgrades come from the same download location as the initial installation; also multi-platform over-the-air installations require redirection to assure your users get the right application for their device.
Over-the-air download only: Redirecting upgrades to download locations only applies to downloads performed through the over-the-air download method. This installation method requires a mobile user to click a link that downloads the client application to the mobile device, or to download the application from App World. Installations through the BES push method is not recommended for BlackBerry applications available through multiple download locations.
If you deploy BlackBerry applications from App World and through corporate over-the-air, set your BlackBerry application with the ability to detect the download source by editing the web.config file to handle upgrades when deploying from sources as follows:
- Open the web.config file, located in the directory you created when you installed the AppServer (see IIS 7 and IIS 8 Configuration or IIS 6 Configuration).
- Find the DeployRedirectBBAppWorld key in the URL redirect for BB App World applications commented section.
Set the value of the DeployRedirectBBAppWorld key to the URL of your application in the App World according to the following sample:
where 1234 is the first application's ID and 5678 is the second application's ID.
Number each of your applications consecutively, beginning with 1 and separate URL strings for each with a comma.
- Save your edits to the web.config file.