MCPcopy Index your code
hub / github.com/MyScript/interactive-ink-examples-android

github.com/MyScript/interactive-ink-examples-android @4.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 4.5.0 ↗ · + Follow
545 symbols 1,014 edges 41 files 19 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

What is it about?

Interactive Ink SDK is the best way to integrate handwriting recognition capabilities into your Android application. Interactive Ink extends digital ink to allow users to more intuitively create, interact with, and share content in digital form. Handwritten text, mathematical equations or even diagrams are interpreted in real-time to be editable via simple gestures, responsive and easy to convert to a neat output.

This repository contains a "get started" example, a complete example and a reference implementation of the Android integration part that developers using Interactive Ink SDK can reuse inside their projects.

Getting started

Installation

  1. Clone the examples repository git clone https://github.com/MyScript/interactive-ink-examples-android.git

  2. Claim a certificate to receive the free license to start develop your application by following the first steps of Getting Started

  3. Copy this certificate to GetStarted/src/main/java/com/myscript/certificate/MyCertificate.java and Demo/src/main/java/com/myscript/certificate/MyCertificate.java

Building your own integration

This repository provides you with a ready-to-use reference implementation of the Android integration part, covering aspects like ink capture and rendering. It is located in UIReferenceImplementation directory and can be simply added to your project by referencing it in your settings.gradle.

Documentation

A complete guide is available on MyScript Developer website.

The API Reference is available directly in Android Studio once the dependencies are downloaded.

Getting support

You can get some support from the dedicated section on MyScript Developer website.

Troubleshoot

If you encounter build errors of the form No version of NDK matched the requested version, please install the requested NDK version or update the one referenced in build.gradle to match your installed NDK version. You can follow these instructions.

Sharing your feedback ?

Made a cool app with Interactive Ink? Ready to cross join our marketing efforts? We would love to hear about you! We’re planning to showcase apps using it so let us know by sending a quick mail to myapp@myscript.com.

Extension points exported contracts — how you extend this code

ViewListener (Interface)
(no doc) [1 implementers]
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/InputController.java
IContentRepository (Interface)
(no doc)
Demo/src/main/java/com/myscript/iink/demo/data/IContentRepository.kt
IInputControllerListener (Interface)
(no doc) [1 implementers]
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/IInputControllerListener.java
Listener (Interface)
(no doc)
Demo/src/main/java/com/myscript/iink/demo/domain/PartEditor.kt
ISizeListener (Interface)
(no doc)
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/ISizeListener.java
MenuListener (Interface)
(no doc)
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/SmartGuideView.java

Core symbols most depended-on inside this repo

close
called by 18
Demo/src/main/java/com/myscript/iink/demo/di/DemoModule.kt
equals
called by 12
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/FontMetricsProvider.java
getRenderer
called by 11
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/EditorData.java
toString
called by 10
Demo/src/main/java/com/myscript/iink/demo/domain/PartEditor.kt
save
called by 9
Demo/src/main/java/com/myscript/iink/demo/ui/EditorViewModel.kt
create
called by 8
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/OfflineSurfaceManager.java
update
called by 8
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/SmartGuideView.java
get
called by 7
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/FontMetricsProvider.java

Shape

Method 435
Class 79
Function 22
Interface 7
Enum 2

Languages

Kotlin55%
Java45%

Modules by API surface

Demo/src/main/java/com/myscript/iink/demo/domain/PartEditor.kt88 symbols
Demo/src/main/java/com/myscript/iink/demo/ui/EditorViewModel.kt78 symbols
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/Canvas.java38 symbols
Demo/src/main/java/com/myscript/iink/demo/MainActivity.kt30 symbols
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/SmartGuideView.java28 symbols
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/InputController.java23 symbols
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/LayerView.java20 symbols
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/EditorView.java20 symbols
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/FontMetricsProvider.java17 symbols
GetStarted/src/main/java/com/myscript/iink/getstarted/MainActivity.java14 symbols
UIReferenceImplementation/src/main/java/com/myscript/iink/uireferenceimplementation/FrameTimeEstimator.java13 symbols
Demo/src/main/java/com/myscript/iink/demo/di/DemoModule.kt13 symbols

For agents

$ claude mcp add interactive-ink-examples-android \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact