Hello All,

We are trying to test out using Crosswalk instead of the native WebView and I 
am having a problem with trying to get the ready status of XWalk (either with 
XWalkActivity or XWalkInitializer) and cannot seem to get anywhere.  The 
JavaScriptInterface uses the JavaScriptService that creates an XWalkView,  
which then throws an error saying that I need to extend XWalkActivity.


Here is a snippet below.  The JavaScriptView then creates a custom WebView that 
inherits from XWalkView.  Please let me know if you have any advice.


Thanks,

Jonathon


public class JavaScriptService extends Service {

    private static JavaScriptService instance;
    ...

    ..

    .

    @Override
    public void onCreate() {

        isRunning = true;
        instance = this;

        javaScriptView = new JavaScriptView( getInstance() );

        super.onCreate();
    }

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to