Audio integration sample apps
The Audio Accessory sample app demonstrates how to transmit data to and receive data from an external device that is connected to the audio jack on a BlackBerry 10 device. This mechanism for connecting accessories is used by a number of vendors in the marketplace as an alternative to Bluetooth low energy, Wi-Fi, or NFC.
Before you begin, however, you need to have the right kind of plug with the right electrical properties. Read this blog post for details.
The Audio Loop Back sample app demonstrates how to record and play back audio simultaneously (full duplex) using the BlackBerry 10 Audio Library APIs.
The Tone Generator sample app demonstrates how to add low-latency audio generation and playback to your application. This application generates a tone when you touch the screen.