We regularly build advanced Android examples that you, developers using Interactive Ink SDK, can reuse inside your projects or from which you can draw inspiration.
Today we are happy to share them with you!
Those examples have been developped to match common use cases.
1. The batch mode sample explains how to integrate iink SDK off-screen, without any user interface. It consists in processing a series of pointer events corresponding to already collected ink strokes and exporting the recognition result. It comes with four pointer events samples that correspond to four different content types “Text”, “Math”, “Diagram”, “Raw Content”. Those content types are exported in respectively .txt, LaTeX, svg and JIIX formats.
2. The exercise assessment is useful when you want to use several writing areas, each one for a specific purpose in your application.
Our assessment scenario is based on two problem solving by pupils and score writings by the teacher. It is thus using multiple editors, one per writing area, as each one has a different purpose: one of them is dedicated to “Math” content types and the three other ones to “Text” content type.
3. The search example shows how to perform word search on raw digital ink and how to highlight the result found in the ink. It is based on “Raw Content” content type.
4. The lasso example illustrates how you can perform recognition of strokes captured with a “lasso” in the drawing area of your application.
It is based on two “Drawing” parts: one for the drawing/writing area and the other one for the lasso capture. In lasso mode, the lassoed strokes are sent as a series of events to perform a batch recognition of a “Text” part and the result is displayed once recognition is completed.
How to get those samples?
They are available on MyScript GitHub repository.
Keep following us as there is more to come!
Those examples directly result from requests you have sent us, so feel free to give us feedback on your iink experience and on your ideas!