Hi guys,
I am new to javaobject. I have trouble accessing the pinyin4j library using javaobject. The code I write is like this:
and I get this wrong message:
What should I do to solve this problem?
Thanks.
I am new to javaobject. I have trouble accessing the pinyin4j library using javaobject. The code I write is like this:
B4X:
#AdditionalJar: pinyin4j-2.5.0
......
Dim jo As JavaObject
jo.InitializeStatic("net.sourceforge.pinyin4j.PinyinHelper").RunMethod("toHanyuPinyinStringArray",Array As Object("你"))
and I get this wrong message:
B4X:
java.lang.RuntimeException: Method: toHanyuPinyinString not matched.
What should I do to solve this problem?
Thanks.