Mobile - Introduction
Anoto's Live Mobile SDK for Android/iOS is part of the Anoto Live™ Pen Access Framework. The SDKs provide an API to enable communication over Bluetooth with Anoto's digital pens, together with documentation and sample code to help develop your own digital pen based solutions for mobile platforms. Currently, the SDKs provide platform-specific libraries for Android & iOS. You can import the required platform library into your development environment to get your digital pen application up and running quickly. The API provides functionality to discover and pair to a digital pen, receive the pen's stroke- and property-data. Your application receives transaction events from the SDK including stroke data, and has full control of sending the data to the back-end.
The Live Mobile SDK can be used to develop a pen management application for Anoto's digital pens. Pen stroke data can be retrieved from the pen, pen properties can be accessed and the application has full control over the transactions. It may also store retrieved ink data on the mobile device and send ink data (containing stroke data and pen ID) to the back-end.
|Live Pen™ 1||AP-701x / Live Pen™ 2|
|Live SDK for Android||Supported||Supported|
|Live SDK for iOS||Supported|
Live Pen™ 1
The Pen Access Framework can be initialised to support Live Pen™ 1 (DP-201) pen connections instead of Live Pen™ 2 connections.
The framework will retrieve PGC 1.1 stroke data from the Live Pen™ 1 (DP-201) when the user writes to the Pidget area on the paper; and provide a callback when the data is available.
AP-701x / Live Pen™ 2
AP-701x / Live Pen™ 2 uses a new ink data format called STF2. It encapsulates strokes, pen ID and pen properties in the same format. The STF2 format also provides a way to add debug information to the STF2 data stream. It logs all stroke samples, decoding errors and pen events that occur in the sequence that they occur.
The STF2 is compatible with the PGC 1.1 format and the stroke data can easily be extracted and be converted to PGC 1.1 - Anoto's Live SDK for Windows includes an ink converter library for this purpose. By converting STF2 to PGC 1.1, the ink data from AP-701x / Live Pen™ 2 becomes compatible with existing solutions.
Integrating AP-701x / Live Pen™2