USB

You can connect USB peripherals, such as flash drives, keyboards, mice, and game controllers, to a host-mode capable BlackBerry 10 device via an On-The-Go (OTG) USB cable. Host mode allows you to use the USB devices that are attached to your BlackBerry 10 device to, for example, browse photos that are stored on a camera or flash drive, and use a full-size USB keyboard or mouse. The following table lists the USB specifications for BlackBerry 10 smartphones.

BlackBerry 10 Smartphone USB version Host mode Device mode Output

Passport

2.0

Black checkmark ** Black checkmark

900mA

Classic

2.0

Black checkmark ** Black checkmark

500mA*

Leap

2.0

  Black checkmark  

Z30

2.0

Black checkmark ** Black checkmark

500mA*

Z10

2.0

  Black checkmark  

Z3

2.0

  Black checkmark  

Q10

2.0

  Black checkmark  

Q5

2.0

  Black checkmark  

* You can use a powered USB hub for any peripherals that require more power.

** With On-The-Go (OTG) cable

USB APIs

To interface your peripheral with a BlackBerry 10 smartphone through a USB connection, you use the core APIs. You can find the ones you need in the following libraries:

Check out USB resources for more information about how to use them.

USB resources

Here are links to some articles and a sample app to help provide inspiration and demonstrate how you can interface a BlackBerry 10 device with a USB peripheral.

Resource Description
Peripheral Disco

This sample app shows you how to use the peripheral discovery APIs and how to talk to a serial USB accessory, in this case, an Arduino Uno R3.

How-to video

This YouTube video shows host mode in action on a BlackBerry 10 smartphone.

Fine tuning USB storage devices

Tips about how to work with large media files.

Arduino

Arduino is an open-source hardware prototyping platform. The Arduino website provides resources to help you design your own board, or you can buy an existing product to meet your needs.

USB Implementers Forum

The USB-IF provides support and a forum to facilitate the development of USB peripherals.