Although I understand the Crosswalk project is officially deprecated, I am 
still using it for my Cordova/PhoneGap apps to support older Android 4.x phones 
with an old WebView.

I am currently using Crosswalk 23 in embedded mode successfully via 
cordova-plugin-crosswalk-webview, and I would like to use Shared Mode now. 
However, I am not getting the information I need.


The official instructions for Shared Mode 
(https://crosswalk-project.org/documentation/shared_mode.html) for Cordova 
build says that:



    ./bin/create --xwalk-shared-library ...

Question 1: I am wondering where the `./bin/create` executable command and 
`make_apk.py` is from? Do I have to download, unzip and install it from 
somewhere? What does the 3 dots ellipsis mean? No further example of the 
parameters.


To search for this `create` tool, I downloaded Android (ARM + x86) Stable 
(23.53.589.4) from 

https://crosswalk-project.org/documentation/downloads.html. It appears to be 
more for adding an Android Activity into a native Android app. There is no sign 
of a `bin/create` executable tool.


Back in the Shared Mode documentation, it says:

    "Note: shared mode is not yet supported by cordova-plugin-crosswalk-webview"


Question 2: So for a Cordova app, can one actually use Shared Mode with the 
last stable Crosswalk 23? Or is the embedded way (`cordova plugin add 
cordova-plugin-crosswalk-webview`) the only way? I am confused.

To further add to the confusion, there is a new Crosswalk App Tools 
(https://crosswalk-project.org/documentation/crosswalk-app-tools.html) which 
supposedly replace the Python-based make_apk.py script.

Question 3: With the new Crosswalk App Tools, how do they replace the 
`./make_apk.py --mode=shared ...` command in Shared Mode? Do I use 


    * `crosswalk-app create com.mydomain.myapp --platforms=android 
--android-shared` - OR -

    * `crosswalk-pkg --android=shared --manifest=com.mydomain.myapp 
--platforms=android --crosswalk=stable`

Question 4: With Crosswalk App Tools, how do they complement with the existing 
Cordova tools since they are both used for creating a new project?

    * `cordova create myapp com.mydomain.myapp myapp` vs
    * `crosswalk-app create com.mydomain.myapp`

After reviewing all the separate bits and pieces of information, my current 
impression is that Shared Mode is only available to Android native apps, but 
not for Cordova apps.

I am not even sure if there's anyone monitoring this mailing list anymore, but 
thanks in advance for any information offered.
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to