I am receiving this error (not sure if to post here or in bugs/wish)
src\b4j\example\main.java:88: error: incompatible types: int cannot be converted to String
anywheresoftware.b4a.keywords.Common.Log(_decompiler.decompileToDir("c:/temp/src4decomp/bindertest.jar","c:/temp/testdecomp"));
The routine returns an int (not Integer)
Log(decompiler.decompileToDir("c:/temp/src4decomp/bindertest.jar","c:/temp/testdecomp"))
I can work round it by changing the code to
Log(""&decompiler.decompileToDir("c:/temp/src4decomp/bindertest.jar","c:/temp/testdecomp"))
the xml def for this routine is
<method>
<name DesignerName="decompile_1">decompile</name>
<comment>generated</comment>
<returntype>int</returntype>
<parameter>
<name>jarPath</name>
<type>java.lang.String</type>
</parameter>
<parameter>
<name>outDir</name>
<type>java.lang.String</type>
</parameter>
</method>