Hi ,
Thanks for response,

I tried using the XWalkActivity , but I need to call the loadURL on 
onXWalkReady - the problem is XWalkActivity  do not extend 
CordovaActivity...

Thanks,
Eitan.



From:   "Zhang, Xiaofeng" <[email protected]>
To:     Eitan Schreiber/Haifa/IBM@IBMIL, 
"[email protected]" 
<[email protected]>
Date:   11/29/2015 09:10 AM
Subject:        RE: [Crosswalk-help] crosswalk bootstrap



Hi 
Did you tried XWalkActivity 
https://crosswalk-project.org/apis/embeddingapidocs_v5/org/xwalk/core/XWalkActivity.html
 
?
 
Best Regards J
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