I'm trying to use the crosswalk browser as well as the CSS support is a better fit for a product we make. The browser comes with a java wrapper that should be useable from within B4A.
I am however struggling to use it. I have created the following xml file that lives alongside the crosswalk JAR file so I can hook it into the B4A IDE:
<root>
<doclet-version-NOT-library-version>1.00</doclet-version-NOT-library-version>
<class>
<name>org.xwalk.core.XWalkView</name>
<shortname>xwalk</shortname>
<comment>The new web browser</comment>
<owner>activity</owner>
<method>
<name>load</name>
<parameter>
<name>url</name>
<type>java.lang.String</type>
</parameter>
<parameter>
<name>Content</name>
<type>java.lang.String</type>
</parameter>
</method>
<method>
<name>getXWalkVersion</name>
<returntype>java.lang.String</returntype>
</method>
</class>
<version>1.0</version>
<author></author>
</root>
I also have the following code that gives a constructor not found error:
Dim arrURL(1) As String
arrURL(0) = "http://10.0.0.100"
Dim arrParams(2) As Object
arrParams(0) = Activity
arrParams(1) = Null
Dim wb As JavaObject
wb.InitializeContext
wb = wb.InitializeNewInstance("org.xwalk.core.XWalkView",arrParams)
wb.RunMethod("load", arrURL)
If anybody has any pointers on how to get this working it would be much appreciated before I get forced to use Android Studio!