Software Development Kit

Scroll is not working

 I have made a sample code with the below code to enable scrolling for multiple scribbling pad:

 

<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fillViewport="true"
    tools:context=".MainActivity">

</androidx.core.widget.NestedScrollView>

 

When I keep com.myscript.iink.uireferenceimplementation.EditorView inside above code, then the scribbling is not working. But, if I don't use the above code, the scribbling is working.


I want to keep com.myscript.iink.uireferenceimplementation.EditorView inside the scroll view for multiple editor view. Can you please help me with this?


 Dear Oliver,

    Thanks for support. 

   I want another help from you. I want image of scribble area on button click.  How can I get image from  scribble area that I have written?

Thanks -

Raju Sen

Dear Raju Sen,


Currently, you can use the "export_" function, setting as MimeType JPEG or PNG:
https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#export_-com.myscript.iink.ContentBlock-java.io.OutputStream-com.myscript.iink.MimeType-com.myscript.iink.IImageDrawer-


It can be called as follows: editor.export_(null, ABSOLUTE_PATH_IMAGE, MimeType.PNG, imageDrawer);


Best regards,


Olivier



Login or Signup to post a comment