i have a java method that depends on arguments passed to it. I would like to pass these arguments to the inline java method via java object.
for example
java
public void stx(String[] argsx) throws Exception
{
otherMethod.create(argsx);
}
Now i want to pass the arguments via java object like so (tried it this way but the app force closes):
J.RunMethod("stx",Array(args))
i have defined args as shown below:
Dim args() As String
args = Array As String ("mx","lp","dg")
in other words, i want to pass "mx","lp","dg" as a single string to the java method.
How do i do it?