Hi
Did you tried XWalkActivity 
https://crosswalk-project.org/apis/embeddingapidocs_v5/org/xwalk/core/XWalkActivity.html
 ?

Best Regards :)
Xiaofeng Zhang

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Eitan 
Schreiber
Sent: Tuesday, November 24, 2015 5:19 PM
To: [email protected]
Subject: [Crosswalk-help] crosswalk bootstrap

Hi,

On current crosswalk implementation the bootstrap of crosswalk  is done through 
loadUrl method called on the Activity.onCreate method.

This situation is problematic for my  App since I  support a case where the 
full project structure is compressed when main activity is created.
So what we do is to decompress the App Asynchronously on the onCreate of main 
activity, and we call the loadUrl only when the Asynchronous process completes.
On this scenario we can not get  crosswalk  working, since we did not call the 
loadUrl on the onCreate stage of the Activity.
I found a kind of hack: calling the loadUrl with an empty URL on the onCreate 
stage, but I prefer not doing a hack - just doing things correctly.
How can it be done ?

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

Reply via email to