Interactive Ink

Can I use iink SDK like SaaS by sending stroke data?

Hello.

I'm trying to develop Android app that use iink SDK.

I hope that...

   1) an app user handwrites on canvas,

   2) a program extracts stroke data on canvas, and send it to iink function,

   3) iink function returns result of recognition


But, i cannot find the function that receive the stroke data.

Is my idea wrong?


Dear Sir,

currently, for such pupose, you should use the PointerEvents function.

You can find few examples in the following topics:
-https://developer-support.myscript.com/support/discussions/topics/16000021050
-https://developer-support.myscript.com/support/discussions/topics/16000021288

Best regards,

Olivier

Dear Olivier,

Thank you for your advice.


Do you mean that?

  The SDK don't have functions for receiving stroke data, 

  but we can get recognition result by using  "editor.pointerDown" and "editor.pointerMove".


Dear Sir,

Currently, the below API (editor.pointerDown and editor.pointerMove) is to add the strokes by yourself.

In your case, you should proceed as follows:
-Get the points events from your device
-Provide these points to editor.pointerDown and editor.pointerMove API
-Wait for recognition to end
-Export in JIIX

=> You can then get the converted result and display it: https://developer-support.myscript.com/support/discussions/topics/16000021050

Best regards,

Olivier
Login or Signup to post a comment