Upload the debug token to your BlackBerry 10 device

Now that you've created a debug token, it's time to upload that token so you can test your applications.

Before you begin: Make sure that your tablet or device is connected to your computer and is in development mode.
  1. On the home screen, tap the Settings icon.
  2. In the left pane, tap Security.
  3. In the right pane, tap Development Mode.
  4. Tap Upload Debug Token.
    The tablet or device is now ready to accept a debug token.
  5. On your computer, open a command prompt and navigate to the bin subfolder where you installed the BlackBerry SDK.
  6. Run the blackberry-deploy tool with the following syntax:
    blackberry-deploy -installDebugToken <debug_token> -device <IP_address> -password <password>

    This table explains the values the of the arguments used in the above syntax.

    Argument

    Value

    -installDebugToken <debug_token>

    This argument specifies the location of the debug token .bar file that you created

    -device <IP_address>

    This argument specifies the IP address of your BlackBerry device.

    -password <password>

    This argument specifies your BlackBerry device password.

The debug token is uploaded to your BlackBerry device, and your device is now ready to accept unsigned applications. You can now upload your repackaged applications to your device so that you can test them.

comments powered by Disqus