Hi Dinesh, Thank you for trying Crosswalk!
1> which of these three to use ? :-- Indeed there are three kinds of builds on Android platform for you to develop applications, there are relevant documents in official Crosswalk website. Crosswalk - Android(ARM + x86): | Web, HTML5/CSS/Javascript | Crosswalk is an HTML application runtime, you can build web apps with python package tool (make_apk.py + manifest.json) https://crosswalk-project.org/documentation/getting_started/run_on_android.html Crosswalk Cordova - Cordova Android (ARM + x86): | Web, HTML5/CSS/Javascript | It provides Cordova's APIs for accessing device capabilities (e.g. file storage, accelerometer) plus additional APIs available in Crosswalk (WebGL, SIMD, Presentation API etc.), the build method is more like upstream Cordova. https://crosswalk-project.org/documentation/cordova.html If you are the upstream Cordova/PhoneGap developer need to access device capabilities, this build should be your choice. You can migrate your upstream Cordova app with Crosswalk based Cordova: https://crosswalk-project.org/documentation/cordova/migrate_an_application.html Please note this article if you have issues with WebGL: https://crosswalk-project.org/documentation/about/faq.html#Canvas-and-WebGL-support Crosswalk WebView - Android webview(ARM + x86): | Java language required | It enables you to embed the Crosswalk runtime in an Android application. It is only recommended for cases where you have a substantial amount of Java code in your application, but want to write the UI using web technologies. https://crosswalk-project.org/documentation/embedding_crosswalk.html https://crosswalk-project.org/documentation/apis/embedding_api.html Do you mean HTC based Android 4.3 or HCT based? For ARM or x86, it depends on your phone CPU processor architecture: ARM or Intel x86. 2> Also how to specify the android api version to use to compile the app ? Usually you don’t need to specify the android api version by yourself, e.g. the Crosswalk 11.40.*.* or later require android-21 to compile apps (the builds before 11.40 requires android-19), you must install Android platform 5.0.1 (API 21) in your Android SDK manager or the compile will fail. When you migrate your apps to Crosswalk based Cordova 11.40.*.*, please make sure to check: [project]/platforms/android/project.properties -> target=android-21 [The android-19 will not work anymore] [project]/platforms/android/AndroidManifest.xml -> targetSdkVersion=”21” [The 19 will not work anymore] BR Belem From: Crosswalk-help [mailto:[email protected]] On Behalf Of Dinesh Guleria Sent: Sunday, March 01, 2015 9:53 PM To: [email protected] Subject: Re: [Crosswalk-help] crosswalk setup environment -- not able to generate apk file -- using make_apk.py script Still please suggest on these two points. 1> which of these three to use ? :-- Android(ARM + x86) Android webview(ARM) Cordova Android (x86) https://crosswalk-project.org/documentation/downloads.html 2> Also how to specify the android api version to use to compile the app ? On 1 Mar 2015 09:51, "Dinesh Guleria" <[email protected]> wrote: Ok Its compiling i gave the wrong path. On Sun, Mar 1, 2015 at 7:22 AM, Dinesh Guleria <[email protected]> wrote: Please suggest on my last mail. Regards, Dinesh On 28 Feb 2015 16:10, "Dinesh Guleria" <[email protected]> wrote: Hello List, I have setup the crosswalk environment on my windows machine as per this link. https://crosswalk-project.org/documentation/getting_started.html My mobile phone is HCT based Android 4.3. I need to convert my HTML app to apk for Android 4.3 platform 1> which of these three to use ? :-- Android(ARM + x86) Android webview(ARM) Cordova Android (x86) https://crosswalk-project.org/documentation/downloads.html ======================= Enviroment is set correctly on Windows machine ============= https://crosswalk-project.org/documentation/getting_started/windows_host_setup.html java -version java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing) ant -version Apache Ant(TM) version 1.8.2 compiled on December 20 2010 python --version Python 2.7.9 adb help Android Debug Bridge version 1.0.32 ================================ I am executing the command in my crosswalk directory :--- D:\HTML_genny\Git\cordova_projects\crosswalk_download\arm_86\crosswalk-10.39.235.15> command executed :--- python make_apk.py --name=ViewportTest --package=org.xwalk.viewport --app-version=1.0.0 --description=test --app-versionCodeBase=3000000 --arch=arm --app-ro ot=D:\HTML_genny\Git\cordova_projects\www --app-local-path=index.html --project-dir=D:\HTML_genny\Git\cordova_projects\build-dir --mode=embedded Output of command :--- Warning: all supported permissions on Android port are added. Refer to https://github.com/crosswalk-project/crosswalk-website/wiki/Crosswalk-manifest Please make sure that the local path file of launching app does exist. 2> Nothing output on build-dir directory ? ================= 3> Also how to specify the android api version to use to compile the app ? Please suggest how to make compilation successful. Thanks & Regards, Dinesh _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
