Lars,
Thanks for trying Crosswalk and your comments. :) My comments are inline.


1.      I am on linux, so PLEASE keep the needed steps together in ONE place 
where I can (almost) copy'n'paste from.  Don't mix it with windows instructions 
I have to skip over and (quite a few times) miss some Linux instructions hiding 
between them.  I know there are not many steps - so this should be possible.
I agree with you. We should improve that. Elliot, your thoughts?


1.      why not make a simple installCrossWalk.sh that asks for prefix path, 
etc. and then just downloads all the needed components?
This is a really good suggestion. Currently we have several dependencies: 
python/ant/Oracle JDK/Android SDK. We could write scripts to download some of 
them automatically. The key blocking issue is that Oracle JDK can't be 
downloaded via a script due to the license issue. Anyway, the usability of 
packaging tool could be improved.

3. Try to remove the dependency to the Oracle JDK (and ant actually).  I know 
this has probably been done to make things cross platform - but for that we 
have nodejs with a packaging system and nice scripts where all can be done.  
Alternatively consider using python for everything.  Installing Java from 
Oracle is like looking 10 years back in time (sorry).
The key problem here is that Crosswalk packaging tool has to package web 
applications into Android APKs. Users need to customize their package name, app 
name, Android and etc.. As a result, We need all dependencies to build APKs. 
There is one ongoing potential solution to discuss how to remove Android SDK 
dependency. See here: https://crosswalk-project.org/jira/browse/XWALK-1258.

4. After finishing all steps for the xwalk-simple example, I actually got the 
apk built (great!) and I quickly copied it to my Nexus 4 (fairly upgraded.. 
4.4.2 I think) - 20megs.. big for a small "Hello World" but still ok (I am 
guessing the runtime needs optimizations still on the size?). .. Starting the 
app gave me the error attached .. and I got no further :-(
If the architecture of Android APK is mismatched with target device, then it 
can't be run. This is because we have different native libraries for IA/ARM. 
We've improved this by providing one packaging tool to generate two APKs for 
each web app: IA and ARM.  Clear information will be added for users.
Crosswalk is somewhat big because it's a full web engine. We've reduced some 
unneeded files and definitely it would be great to make it smaller.

I totally agree with Lars that we still have many gaps to be improved, such as 
documentation and error messages. And I've already created 2 JIRA 
issues(XWALK-1283 & XWALK-1284) for them. All, you're welcome to give comments 
and help to refine them. Really appreciated.

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

Reply via email to