Text

This feature is not supported for this language

--------- beginning of crash

2023-09-19 16:12:01.811 19027-19027/com.example.androidwhiteboard.debug E/AndroidRuntime: FATAL EXCEPTION: main

    Process: com.example.androidwhiteboard.debug, PID: 19027

    java.lang.IllegalStateException: This feature is not supported for this language

        at com.myscript.iink.NativeFunctions.pointerDown(Native Method)

        at com.myscript.iink.Editor.pointerDown(Editor.java:439)

        at com.example.androidwhiteboard.HandwritingRecognition.TouchEvent(HandwritingRecognition.java:352)

        at com.example.androidwhiteboard.MainActivity.myTouchEvent(MainActivity.java:5869)

        at com.example.view.Draw.SendPoint(Draw.java:525)

        at com.example.view.Draw.onTouchEvent(Draw.java:290)

        at android.view.View.dispatchTouchEvent(View.java:14345)

        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)

        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2742)

        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)

        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2742)

        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)

        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2742)

        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118)

        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2742)

        at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:489)

        at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:187

1 Comment

Dear 刚 陈,


Thank you for contacting us.

This error is due to the fact that your are trying to use one of the languages restricted to non interactive mode: with interactive APIs, which is not possible:

  • Arabic
  • Farsi - Iran
  • Hebrew - Israel
  • Hindi - India
  • Thai - Thailand
  • Urdu - Pakistan


For more details on how to use those languages, please refer to https://developer.myscript.com/docs/interactive-ink/2.1/android/advanced/non-interactive-languages/


Best regards,


Gwenaëlle

Login or Signup to post a comment