Good suggestion. I’ll open 2 issues to track your suggestions in the github. 
Thanks.

Yongsheng

From: Smith, Elliot [mailto:[email protected]]
Sent: Monday, October 28, 2013 8:52 PM
To: Zhu, Yongsheng
Cc: Waterman, Max; [email protected]; Zhao, Tina; 
Zhang, Belem; Li, Cici X; Dee, Georgene
Subject: Re: [Crosswalk-dev] Crosswalk-demos is ready to use.

On 28 October 2013 09:35, Zhu, Yongsheng 
<[email protected]<mailto:[email protected]>> wrote:
Thanks, Max. I’m glad you’re interested in this. You’re welcome to add more web 
apps from 01.org<http://01.org> from my perspective.
The framework may not be flexible enough to meet all your requirements. Be free 
to submit patches and refine them. Thanks again.

It's great that the 01.org<http://01.org> apps are being incorporated into 
crosswalk-demos. I'm really pleased to see the code being seriously used.

However, a couple of notes of caution:

1. Before attempting to run these apps, you should use bower to install their 
dependencies first. If you fail to do this, you may have missing resources 
(fonts, for example) or missing JavaScript libraries. These could cause the app 
to fail completely or not have the expected visual appearance.

2. We recommend that you minify any JavaScript/CSS/HTML files in the 
application before generating an apk. This step is not essential, but should 
improve performance of the app on the device. To do this, you need to install 
any node dependencies the project has ("npm install"), then run the appropriate 
grunt task (normally "grunt wgt", which was originally designed for Tizen 
packaging).

The HACKING.md file in each project outlines the process, what you need to 
install first, etc.

We are still in the process of ironing out differences between the 
applications, so that they all build in approximately the same way; but in some 
cases, differences remain. We are also trying to update the instructions and 
the applications themselves so that they work well with Crosswalk, but that's 
also a work in progress.

If you are planning to incorporate more 01.org<http://01.org> apps into 
crosswalk-demos, we would be happy to prioritise the ones you are interested 
in, and assist with cleaning up the instructions and build steps to make 
integration easier.

Yours,
Elliot Smith


Yongsheng

From: Max Waterman 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Monday, October 28, 2013 4:17 PM
To: Zhu, Yongsheng; 
[email protected]<mailto:[email protected]>;
 Zhao, Tina; Zhang, Belem; Li, Cici X
Cc: Dee, Georgene

Subject: Re: Crosswalk-demos is ready to use.

On 28/10/13 06:40, Zhu, Yongsheng wrote:
Hi, All
Crosswalk-demos is to build/package sample web apps into Android APKs and Tizen 
XPKs automatically in just one step. Thanks to the efforts from @kurli and 
@ShDavidliu to make it happen. See the repo here: 
https://github.com/crosswalk-project/crosswalk-demos
For QA or others who want to have a try of sample apps, you can easily build 
sample apps into Android APKs(or Tizen XPKs in future):

1.       One-step to build all sample web apps into Android APKs automatically. 
For details, see the README in the repo.

2.       Apply our customized patches for these web apps.

3.       Manifest.json for these web apps based on the spec defined by 
Crosswalk.

4.       It’s easy for the purpose of demo. These web apps can help demonstrate 
the capabilities of crosswalk.

5.       The missing part is for Tizen. Need efforts to package web apps for 
Tizen platform.
Currently we add three sample web apps there: HexGL, HangonMan and MemoryGame. 
More apps will be added if needed like for apps for WiDi and etc.

Yongsheng


Nice job! I like how they're all built as sub-modules from the real upstream :

submodule.HangOnMan/src.url=https://github.com/01org/webapps-hangonman
submodule.MemoryGame/src.url=https://github.com/01org/webapps-memory-game-older-kids

I'll have to look at how that's done :)

I'm not sure what the patches are for since we've been running them on Android 
for some time, along with the other 17 of them - perhaps the patches can be 
pushed upstream?

I wonder if we can get the other 17 into this repo as submodules. One or two 
might not work on Android since they use Tizen APIs or need some work, but I 
guess we can get ~15 working satisfactorily.

Perhaps (Elliot and) I can help add them as sub-modules and use the upstream 
build methods?

Max.

_______________________________________________
Crosswalk-dev mailing list
[email protected]<mailto:[email protected]>
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev



--
Elliot Smith
Senior Software Engineer
Intel Open Source Technology Centre
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to