I am using an inline Java code method that expects an Activity to be passed to it. How do I pass the "active" B4A activity to the Java method? Have tried passing "Me" and "Activity" but none seems to work. Always getting a signature mismatch error.
Can someone please advise?
Need to do a call using the JavaObject library such as for eg:
nativeMe.RunMethod("blabla", array(the_b4a_activity"))
(please ignore any typos in the above call - posting this from a laptop that is not the one that I use for B4A. Just need to understand how to pass the B4A activity)
Can someone please advise?
Need to do a call using the JavaObject library such as for eg:
nativeMe.RunMethod("blabla", array(the_b4a_activity"))
(please ignore any typos in the above call - posting this from a laptop that is not the one that I use for B4A. Just need to understand how to pass the B4A activity)