Reflection Library – java.lang.Object

canalrun

Well-Known Member
Licensed User
Longtime User
Hello,
I'm trying to use the Camera Zoom function. The code in the ACL does not work for me, so I thought I would try using the Reflection Library.

When I run the following code:
c1Refl.RunMethod2("setZoom", s, "java.lang.Object")

B4A always stops with an exception:
Java.Lang.NoSuchMethodException:setZoom [class java.lang.Object]

Am I doing something really dumb?

Thanks,
Barry.
 

canalrun

Well-Known Member
Licensed User
Longtime User
Thanks, that explains a lot.

I did not realize that third parameter referred to the data type – but I guess that's why it's labeled "Type"

Barry.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…