Hello all,
I need help using a third-party library with B4a.
They provided me a minimal library to certify if I could use it with B4a.
The sample library should return the uppercase of a string
I declared it in the project with...
#AdditionalJar: string_converter
then I called up the library as follows...
Dim Ret As JavaObject
Dim Parameters As String = "Test"
Ret=Ret.InitializeStatic("com.logamic.converter.StringConverter").RunMethodJO("convertToUpperCase",Array(Parameters))
When I run the program the following error appears:
"java.lang.IllegalArgumentException: expected receiver of type com.logamic.converter.StringConverter, but got java.lang.Class <com.logamic.converter.StringConverter>"
I attach the sample library.
Thanks in advance.
Mennea