Math

Answered

activeBlockChanged() method is not being called.

Dear Team,

I am trying to use math conversion by using resources and .conf file provided on the portal.

 Setting configurations as :

configuration.setString("math.configuration.bundle", "math");

configuration.setString("math.configuration.name", "standard");

Setting content part as :

mContentPartOne = mContentPackage.createPart("Math"); 

mEditorOne.waitForIdle();

mEditorOne.setPart(mContentPartOne);

I am providing RawPoint to the editor using pointerDown(), pointerMove() and pointerUp() APIs.

The problem is that I am not getting call in the method activeBlockChanged() of SmartGuideView and hence conversion is not working.

Can you please suggest me if I am doing something wrong which can be corrected and I can get jiix data? 


Regards,

Pankaj Tyagi


Best Answer

Dear Olivier,

Thanks for your response.

There was a problem at our end, we were able to fix that.

Regards,

Pankaj Tyagi


Answer

Dear Olivier,

Thanks for your response.

There was a problem at our end, we were able to fix that.

Regards,

Pankaj Tyagi

Dear Pankaj,


You seem to be using the iink in "batch mode". I then recommend you refer to the following code sample, setting a Math Part: https://github.com/MyScript/interactive-ink-additional-examples-android/blob/master/java/samples/batch-mode/src/main/java/com/myscript/iink/samples/batchmode/MainActivity.java


Your should then get a Math result after export.


Best regards,


Olivier