General questions

Answered

Multi touch issue.

We go through the app iink Demo and find the issue like:-

1. Multi touch :- While writing something using stylus pen on tab and if in between my hands gets touch on screen than the writing continuity gets breaks and gets the point or line on screen where my hand gets touched.

Can you provide some solution on the above mention issue or Is there any way we can stop the hand touch and only support to stylus pen.


Best Answer

Dear Vaishali,

thank you for your question.

For iOS, you can use the UITouchType to know if you have a pen and finger touch. You can then proceed as in the following topic: https://developer-support.myscript.com/support/discussions/topics/16000023609

For Android, You can use the MotionEvent API to determine if you have a TOOL_TYPE_FINGER or TOOL_TYPE_STYLUS event. Then, in the InputController class of the uireferenceimplementation, you can then deal with the event.

Best regards,

Olivier

1 Comment

Answer

Dear Vaishali,

thank you for your question.

For iOS, you can use the UITouchType to know if you have a pen and finger touch. You can then proceed as in the following topic: https://developer-support.myscript.com/support/discussions/topics/16000023609

For Android, You can use the MotionEvent API to determine if you have a TOOL_TYPE_FINGER or TOOL_TYPE_STYLUS event. Then, in the InputController class of the uireferenceimplementation, you can then deal with the event.

Best regards,

Olivier