A BAR file (extension: .bar) is an archive containing all the files required to install a BlackBerry 10 application. BAR files can be installed directly on a device without going through BlackBerry World or BES deployment through a procedure known as "sideloading". This article explains how to sideload an application on any BlackBerry 10 device.
Sideloading an application requires the following:
Sideloading applications requires enabling Developer Mode on your BlackBerry 10 device. If your device was provided by your employer, Developer Mode may be forbidden by corporate policy: in that case, you will not be able to sideload applications. |
The procedure requires the following software to be installed on your PC/Mac:
The installation tool is part of the BlackBerry Native SDK. The Native SDK can either be downloaded as a stand-alone software or (if you have already downloaded it) from the Momentics development environment
host_10_x_y_z, where x.y.z is the version of the SDKhost_10_3_1_29. In the rest of this document, this directory will be referred to as host_10_x_y_zhost_10_x_y_zbbndk.macosx.tools.10.3.0.2702.tar.gzcd ~/Downloads and press Enter⏎tar xf bbndk.macosx.tools.10.3.0.2702.tar.gz and press Enter⏎. This could take a whilehost_10_3_0_2702 in your Downloads directory. In the rest of this document, this directory will be referred to as host_10_x_y_zSideloading applications requires enabling Developer Mode on your BlackBerry 10 device. If your device was provided by your employer, Developer Mode may be forbidden by corporate policy: in that case, you will not be able to sideload applications. |
The BlackBerry 10 device needs to be prepared to enable sideloading of applications:
169.254.x.y (usually, 169.256.0.1)Once everything's ready on the
cmd in the text box and press Enter⏎. This should open a command windowcd <full path to the host_10_x_y_z directory> and press Enter⏎. To easily enter the full path to the host_10_x_y_z directory, you can drag and drop it on the command windowcd win32\x86\usr\bin and press Enter⏎cd darwin/x86/usr/bin and press Enter⏎blackberry-deploy -installApp -device 169.254.x.y -password <device password> <full path to the BAR file> (where 169.254.x.y is the IP address of the device), and press Enter⏎. To easily enter the full path of the BAR file, you can drag and drop it on the command window