/blackberry-py-bootstrap

Bootstrap your Python-based BlackBerry 10 app.

Primary LanguageQML

Blackberry-Py bootstrap

This repository allows you to quickly bootstrap a Blackberry-Py application and start writing BB10 apps with Python.

Get it running

  1. Clone this repository with the submodule(s)
git clone --recurse-submodules https://github.com/BerryTrucks/blackberry-py-bootstrap
  1. Install Python 3.2.2. The easiest way is through pyenv
  2. Generate a debug token (see how below)
  3. Run make to compile a bar file, or
  4. Enable Developer mode on your BB10 device, adjust signing/bbpass with your real IP address and run
make deploy

Generating a debug token

  • Use this form to obtain your bbidtoken.csk file: https://developer.blackberry.com/codesigning/
  • Copy bbidtoken.csk to signing/bbidtoken.csk
  • In signing/bbpass, fill in:
    • CNNAME: the Common Name for your signing cert (usually your name)
    • KEYSTOREPASS: CSK password you entered in step 1 signup
    • BBPIN: target device's PIN
    • BBPASS: target device's password
  • Run make in signing/Makefile to request and deploy the token to your device.

Important: any symbols need to be escaped according to bash / Makefile rules e.g. backslashes before symbols \! and double dollar signs \$$.

See also

Thanks