Introduction

Introduction

The Anoto Live™ SDK for Mobile is part of the Anoto Live™ Pen Access Framework. The SDK provides an API to enable communication over Bluetooth with the new Live Pen™ 2 and Live Pen™ 1 (DP-201), together with documentation and sample code to help develop your own digital pen based solutions for mobile platforms. Currently the SDK provides platform specific libraries for Android, BlackBerryOS and 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 Pen, receive Pen stroke data and retrieve property data from the Pen. Your application receives transaction events from the SDK including stroke data, and has full control of sending the data to the back-end.

The Anoto Live™ SDK for Mobile can be used to develop a pen management application for Live Pen™ 2. Pen stroke data can be retrieved from the pen, pen properties can be accessed and the application has full control of 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.

To maintain backward compatibility the current Anoto Live SDK also supports the Live Pen™ 1 - DP201 Pen.

 

Platforms

  Live Pen™ 1 Live Pen™ 2
Live SDK for Android  Supported Supported
Live SDK for Blackberry (OS 5-7.1)  Supported Supported
Live SDK for iOS   Supported

 

 

Live Pen™ 1

The Pen Access Framework can be initialized 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) pen when the user writes to the Pidget area on the paper; and provide a callback when the data is available.

 

Live Pen™ 2

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 a sequence as they occur.

The STF2 is compatible with the PGC 1.1 format and the stroke data can easily be extracted and converted to PGC 1.1 - the Anoto Live SDK for Windows includes an ink converter library for this purpose. By converting STF2 to PGC 1.1 the ink data from Live Pen™ 2 becomes compatible with existing solutions.

Integrating Live Pen™2

 

 

Still need help? Contact Us Contact Us