The SDK don't have functions for receiving stroke data,
but we can get recognition result by using "editor.pointerDown" and "editor.pointerMove".
O
Olivier @MyScript
said
over 4 years ago
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
開発部 プレシジョン
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?
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
- Oldest First
- Popular
- Newest First
Sorted by Popular開発部 プレシジョン
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".
Olivier @MyScript
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
Olivier @MyScript
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