Install an application on a device or simulator

To test your packaged application, we can install and launch it on a device.

To run your application on the simulator or device:

  1. On the device, remember to set Development Mode to On in the security settings.
  2. Type the following command to load and run your application:

    For the simulator, use:

    blackberry-deploy -installApp -password simulator_password -device \
    simulator_IP_address -package BAR_file_path

    Or, to install and launch the sample native SDK application on a device, type this command:

    blackberry-nativepackager -installApp -launchApp -device \
    target_IP_address -password device_password native-sample.bar