I have XWalk embedded in an Android Activity to load some html and xml
files. The problem is, loading xml files seems to just result in a blank
XWalkView display. Loading html files works fine. Is there something I need
to do to make a XWalkView display my xml files? FYI, the XML files are
displayed driven by XSLT files and have been tested and work fine in
Firefox/Chrome/IE.

My main activity:

public class MainActivity extends XWalkActivity {
    private XWalkView mXWalkView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        mXWalkView = (XWalkView) findViewById(R.id.activity_main);

        XWalkPreferences.setValue(XWalkPreferences.REMOTE_DEBUGGING, true);

        mXWalkView.load("file:///android_asset/main_menu.xml", null);
    }
}


Any thoughts? Is this even possible with XWalk?
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to