Developers looking for developers

Answered

Export jiix null

After I split the handwriting, the split handwriting cannot export jiix, what happened?

thanks


Best Answer

Dear Customer,


thank you for the 23.pts file. Thanks to it, I was able to find the cause of the behavior.


Currently, when opening it, you have the "2020-04-28 23:01:20.636 10580-10620/com.myscript.iink.getstarted E/MainActivity: Failed to edit block "MainBlock"CONFIGURATION_BUNDLE_NOT_FOUND: error: no such configuration bundle zh_CN" message.


The reason is that the contentPackage of your 23.pts file was written in Chinese, while your project doesn't have the zh_CN language.


Adding the zh_CN language in the assets of your project, it should work fine.


Best regards,


Olivier


Dear Develop,


Currently, on our side, we could not reproduce at all.


When you refer to the "pts file that comes with the project", we do not have it. Can you please provide it, so that it may help understand?


Thank you,


Best regards,


Olivier


1 person likes this

OK,thanks very much,i have test it as you say,yeah,this way could get a JIIX after split.

but it‘s not contain X Y coordinate, This is the most important question, thanks

can you export JIIX with X Y coordinate? thanks.

Dear "Develop",


in order to have the x and y coordinates in your JIIX, you shall ensure the export.jiix.strokes and export.jiix.glyphs configurations are set: https://developer.myscript.com/docs/interactive-ink/1.3/reference/configuration/#general


Normally, by default they are.


If they are not set, please set these.


Best regards,


Olivier

Hello, I did what you said, the result is still wrong, no X Y coordinate. need your help, thanks

Dear Develop,


currently, I am a bit puzzled, as when playing with your sample with the correction mentionned above, it works fine:

-I write some text, e.g. "hello"

-I export ; then the JIIX is displayed with x and y coordinates.

-I click split ; after few seconds, the JIIX is displayed with X and Y coordinates.


So please explain if I am missing something.


Best regards,


Olivier

-I click split ; after few seconds, the JIIX is displayed with X and Y coordinates.

after this step,need to click export again, and look at intellij IDEA console, the export jiix no X Y coordinate, thanks.

Dear "Develop",


currently, on my side it works fine. Please refer to the following video: https://myscript.filecamp.com/s/UIk2vyZDLV7A4puG/fo


After split and export, the JIIX contains X and Y coordinates.


Best regards,


Olivier

hello?

In fact, the problem of not including x y coordinates is only in some handwritings. The pts file that comes with the project is the problem. Can you help me use this pts test?

hello, i'm waiting for your help, thanks very much.

Dear Customer,


Thank you for the update.


Currently, our solution  has no way to tweek the strokes, and when these are not correct, we may indeed return a "no result"


It is of your responsabilty to ensure the ink is properly written and strokes are properly formatted.


Best regards,


Olivier

Dear "Develop",


thank you for contacting us.


Currently, the above message doesn't help much. When you say "I split the the handwriting", what are you exactly doing? do you do a "split" gesture? Or you do a scratch-out? Or anything else?


Indeed, we do not see any reason your JIIX is null. Can you please check you do not have an exception raised?


Please provide with more information about what you are doing, as the above message doesn't help at all.


Best regards,


Olivier