Hi there
I'd like to pass a list and a map to a JavaOject and then iterate these inside my Inline Java.
This is what I have tried so far where my paras is defined and initialized as a list.
Then I added this...
With my sub to be called inside by b4j app
Thing is, running..
is giving me an error
I'd like to pass a list and a map to a JavaOject and then iterate these inside my Inline Java.
This is what I have tried so far where my paras is defined and initialized as a list.
B4X:
NativeMe.RunMethod("CreateDocument", Array As Object(path,paras))
Then I added this...
B4X:
#If Java
import anywheresoftware.b4a.objects.collections.Map;
import anywheresoftware.b4a.objects.collections.List;
With my sub to be called inside by b4j app
B4X:
public void CreateDocument(String docFile,List pList)
Thing is, running..
B4X:
NativeMe.RunMethod("CreateDocument", Array As Object(path,paras))
is giving me an error
B4X:
java.lang.RuntimeException: Method: CreateDocument not matched.