We want use the gesture like delete, enter and so on.
And if we can use myscript view to imput word with the ime? and use the gesture after the ime input some words?
Thank you
Best Answer
O
Olivier @MyScript
said
about 3 years ago
Dear User,
Thank you for the update and your questions.
You can find more information regarding our pricing and licenses for the iink SDK on our pricing page (See the On-device recognition for the native iiink SDK): https://developer.myscript.com/pricing
With the native iink SDK, we provide with 100 licenses for free, for a development and test purpose. Once these 100 licenses have been used, if you want to continue using the application, you shall buy a pack of licenses. In order to get a pricing, you can contact our sales team at the following link: https://developer.myscript.com/contact/quote-on-device-hwr
So if android user want to use your Myscript engine into android project, we need by the SDK?
and customize our view ?
>>you can indeed, develop your own applications using the iink native SDK. In order to use the SDK, you can refer to our Demo and getStarted samples we provide.
We provide with the following samples, the "getStarted", that shows how to quickly integrate tthe iink SDK, and the "Demo", which is a more complex sample.
By default, it is set to "Text Document" (you can of course change it to Text, Math, Diagram...)
Then, in a Text Document part, you can add a Text block with content, as explained above: editorView.getEditor().addBlock(0,0,"Text",MimeType.TEXT, "hello");
Let us know if this helps.
Best regards,
Olivier
1 person likes this
47778988
said
about 3 years ago
Thank you for help, I will try it, if I have some problem, I will ask you.
47778988
said
about 3 years ago
Hi Olivier
I use the pointEvents to handle the motion event, but not use the ui with myscript. The convert speed is very slow.
Need I change some thing.
O
Olivier @MyScript
said
about 3 years ago
Dear User,
Currently, what has to be kept in mind is that the recognition process is demanding, and very dependant of the hardware (CPU and memory). Also, the more strokes you add, the longer it will take.
Also, as by default our code samples are using the incremental API, you can refer to the InputController.java file of the uireferenceimplementation. As you can see, when and ACTION_DOWN motion event occurs, the editor.pointerDown() function is called ; when an ACTION_UP the editor.pointerUp() is called , and for each ACTION_MOVE motionEvent, the editor.pointerMove() is called.
Best regards,
Olivier
47778988
said
about 3 years ago
Thank you for help.
The MyScript Interactive SDK is not free?
The MyScript SDK is not free also?
So if android user want to use your Myscript engine into android project, we need by the SDK?
and customize our view ?
O
Olivier @MyScript
said
about 3 years ago
Answer
Dear User,
Thank you for the update and your questions.
You can find more information regarding our pricing and licenses for the iink SDK on our pricing page (See the On-device recognition for the native iiink SDK): https://developer.myscript.com/pricing
With the native iink SDK, we provide with 100 licenses for free, for a development and test purpose. Once these 100 licenses have been used, if you want to continue using the application, you shall buy a pack of licenses. In order to get a pricing, you can contact our sales team at the following link: https://developer.myscript.com/contact/quote-on-device-hwr
So if android user want to use your Myscript engine into android project, we need by the SDK?
and customize our view ?
>>you can indeed, develop your own applications using the iink native SDK. In order to use the SDK, you can refer to our Demo and getStarted samples we provide.
47778988
Hi supporter,
We want use the gesture like delete, enter and so on.
And if we can use myscript view to imput word with the ime? and use the gesture after the ime input some words?
Thank you
Dear User,
Thank you for the update and your questions.
You can find more information regarding our pricing and licenses for the iink SDK on our pricing page (See the On-device recognition for the native iiink SDK): https://developer.myscript.com/pricing
With the native iink SDK, we provide with 100 licenses for free, for a development and test purpose. Once these 100 licenses have been used, if you want to continue using the application, you shall buy a pack of licenses. In order to get a pricing, you can contact our sales team at the following link: https://developer.myscript.com/contact/quote-on-device-hwr
So if android user want to use your Myscript engine into android project, we need by the SDK?
and customize our view ?
>>you can indeed, develop your own applications using the iink native SDK. In order to use the SDK, you can refer to our Demo and getStarted samples we provide.
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear Customer,
Thank you for contacting us.
If I understand well, you are using our iink native sdk.
Indeed, gestures are available.
You can find the list at the following link: https://developer.myscript.com/docs/concepts/editing-gestures/
And the suppoorted gestures depending on the part type: https://developer.myscript.com/docs/interactive-ink/1.4/overview/interactive-features/#ink-and-decoration-gestures
Best regards,
Olivier
47778988
Dear Olivier
Can the myscript UI support input by keyboard?
And use the gesture for delete after input the word by input by keyboard?
Olivier @MyScript
Dear User,
no, it is not possible to add text from a keyboard directly in the UI.
The only possiblity to add "text" would be that you have a "Text Document" part, in which you add a Text block and provide a text string as input: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#addBlock-float-float-java.lang.String-com.myscript.iink.MimeType-java.lang.String-
But based on the above exchanges, this doesn't see to be the usage you want to do.
Best regards,
Olivier
47778988
Dear Olivier
If i give some Text Document and add a Text block and provide a text string for it, will the Text Document can gesture to delete the text string?
Olivier @MyScript
Dear User,
Yes, if adding a Text block inside a Text Document part, you can indeed erase the text that was imported.
For information, importing a Text block in a Text document can be done as follows: editorView.getEditor().addBlock(0,0,"Text",MimeType.TEXT, "hello");
Best regards,
Olivier
47778988
Got it, Can you give me some example code for use "Text Document"?
Olivier @MyScript
Dear User,
thank you for the update.
Currently, if not done already, I recommend you start reading our online documentation: https://developer.myscript.com/docs/interactive-ink/1.4/overview/about/
Then, you can download the code samples we provide on github:
-For iOS: https://github.com/MyScript/interactive-ink-examples-ios
-For Android: https://github.com/MyScript/interactive-ink-examples-android
We provide with the following samples, the "getStarted", that shows how to quickly integrate tthe iink SDK, and the "Demo", which is a more complex sample.
I recommend you start with the getStarted sample. In the latter, the part type is set line 105 of the MainActivity.java: https://github.com/MyScript/interactive-ink-examples-android/blob/d1495ff32d59e0a7dcb039a091527aa2d1acd4cb/GetStarted/src/main/java/com/myscript/iink/getstarted/MainActivity.java#L105
By default, it is set to "Text Document" (you can of course change it to Text, Math, Diagram...)
Then, in a Text Document part, you can add a Text block with content, as explained above: editorView.getEditor().addBlock(0,0,"Text",MimeType.TEXT, "hello");
Let us know if this helps.
Best regards,
Olivier
1 person likes this
47778988
Thank you for help, I will try it, if I have some problem, I will ask you.
47778988
Hi Olivier
I use the pointEvents to handle the motion event, but not use the ui with myscript. The convert speed is very slow.
Need I change some thing.
Olivier @MyScript
Dear User,
Currently, what has to be kept in mind is that the recognition process is demanding, and very dependant of the hardware (CPU and memory). Also, the more strokes you add, the longer it will take.
An alternative is to use the incremental API instead of the batch API ; with the incremental API, the strokes are processed as soon as they are added, thus the result can be gotten pretty immediately. You can find more information about the incremental API in our documentation: https://developer.myscript.com/docs/interactive-ink/1.5/android/fundamentals/editing/#incremental-input
Also, as by default our code samples are using the incremental API, you can refer to the InputController.java file of the uireferenceimplementation. As you can see, when and ACTION_DOWN motion event occurs, the editor.pointerDown() function is called ; when an ACTION_UP the editor.pointerUp() is called , and for each ACTION_MOVE motionEvent, the editor.pointerMove() is called.
Best regards,
Olivier
47778988
Olivier @MyScript
Dear User,
Thank you for the update and your questions.
You can find more information regarding our pricing and licenses for the iink SDK on our pricing page (See the On-device recognition for the native iiink SDK): https://developer.myscript.com/pricing
With the native iink SDK, we provide with 100 licenses for free, for a development and test purpose. Once these 100 licenses have been used, if you want to continue using the application, you shall buy a pack of licenses. In order to get a pricing, you can contact our sales team at the following link: https://developer.myscript.com/contact/quote-on-device-hwr
So if android user want to use your Myscript engine into android project, we need by the SDK?
and customize our view ?
>>you can indeed, develop your own applications using the iink native SDK. In order to use the SDK, you can refer to our Demo and getStarted samples we provide.
Best regards,
Olivier