Hi,
I have a java class with a method, public void SetAlignMode(byte AlignMode). But when I try to call the method, using below code from my program, I received java.lang.RuntimeException: Method: SetAlignMode not matched. Any advice?
I have a java class with a method, public void SetAlignMode(byte AlignMode). But when I try to call the method, using below code from my program, I received java.lang.RuntimeException: Method: SetAlignMode not matched. Any advice?
B4X:
Dim A_FLAG As Int
A_FLAG = 0x01
jo.RunMethodJO("SetAlignMode", Array(A_FLAG))
'or
Dim Buffer() As Byte
Buffer = Array As Byte(0x01)
jo.RunMethodJO("SetAlignMode", Array(Buffer))