Hi,
For you start, you can try  the following code: 
src/xwalk/runtime/android/core_shell/src/org/xwalk/core/xwview/shell/XWalkViewShellActivity.java
To build it:
~/crosswalk/crosswalk-src/src$. ./xwalk/build/android/envsetup.sh
~/crosswalk/crosswalk-src/src$ninja -C out/Release xwalk_core_shell_apk
Related apk is at :  out/Release/apks/XWalkCoreShell.apk

Also, you can try the two steps method:
~/crosswalk/crosswalk-src/src$. ./xwalk/build/android/envsetup.sh
~/crosswalk/crosswalk-src/src$  ninja -C out/Release xwalk_app_template
~/crosswalk/crosswalk-src/src/out/Release/xwalk_app_template$python make_apk.py 
--app-url  http://www.intel.com --name Hello --package demo.me
This will create Me_arm.apk under current folder.

Build tools will generated XWalkView.java according to  XWalkViewInternal.java:
out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkView.java

For details, please refer to 
https://crosswalk-project.org/contribute/building_crosswalk.html.

From: Crosswalk-dev [mailto:[email protected]] 
On Behalf Of Sam Nazi
Sent: Monday, May 4, 2015 1:17 PM
To: [email protected]
Subject: [Crosswalk-dev] Questions on building crosswalk source and usage

Hello,
I was able to build crosswalk from source code, but have question on how to use 
my own build against my existing application. The app was coded using crosswalk 
embedded API and it was built on top release 10 of crosswalk.  I would like to  
conduct some exercises by using my own build of crosswalk and conduct some 
exercises.
For example one of the issue when using crosswalk is that the app crashes (or 
exit out of the process) when loading www.cnn.com<http://www.cnn.com> page and 
per call stacks from debugging tool, it is related to the failure of CHECK 
statement on native level from crosswalk ( I would  like to find the root cause 
why the CHECK failed).
I need help on the steps to build my app using my own crosswalk build Can 
someone share the instructions, I am looking for the information such as what 
java jar/res/native static link lib files I need (libxwalkcore.so probably is 
one that I need).

Also there is NO xwalkview.java from crosswalk repository, but there is similar 
file named xwalkviewinternal.java.  Is the public version (without internal) 
generated based on internal one? If it is correct, can you share the 
instruction on how to generate the public java file from internal counterpart?
My intention for this exercise is to getting prepared to contribute to 
crosswalk community.
Your earliest response on this matter is greatly appreciated.
Many thanks!

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

Reply via email to