Changes between Version 4 and Version 5 of AndroidBuildClient
- Timestamp:
- Feb 18, 2013, 11:42:18 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidBuildClient
v4 v5 17 17 calculated on participating devices. 18 18 19 20 19 == Requirements == 21 20 … … 24 23 * Android NKD: http://developer.android.com/tools/sdk/ndk/index.html 25 24 * BOINC Client source code: http://boinc.berkeley.edu/trac/wiki/SourceCode 26 * AndroidBOINC source code: https://github.com/novarow/AndroidBOINC/tree/master/android27 * AndroidBOINC build script: https://github.com/novarow/AndroidBOINC/blob/master/native/build_android.sh28 29 25 30 26 == Used versions == … … 52 48 (headers and libraries which are present on the targeted Android device, 53 49 for more information see "Android NDK stable APIs"). 54 To do so, run the following command from the Android NDK root directory: 50 51 Our build scripts depend on the NDKROOT environment variable to point to the 52 installed NDK. Please make sure that environment variable is set before 53 executing the build_androidtc.sh shell script. 54 55 Run the following command from the boinc/android directory: 55 56 {{{ 56 build/tools/make-standalone-toolchain.sh --platform=android-4 --install-dir=/tmp/tc 57 ./build_androidtc.sh 57 58 }}} 58 This will install a toolchain for ARM devices 59 (default, use e.g. "--arch=x86" to change) with minimum Android version 1.6 60 in the given installation directory. 59 This will install a toolchain for ARM devices with minimum Android version 2.3 60 in the ~/android-tc directory. 61 61 62 A map of NDK Android platform version (e.g. android- 4)63 to common Android versions (e.g. Android 1.6) can be found in under "Stable APIs"62 A map of NDK Android platform version (e.g. android-9) 63 to common Android versions (e.g. Android 2.3) can be found in under "Stable APIs" 64 64 of the Android NDK documentation. 65 65 … … 73 73 Before first execution, configure the build script with the following information: 74 74 75 * BPNAME: name of the BOINC platform.76 This can be use to distinct different Android architecutres or platform77 versions by your project's scheduler. (use e.g. "android-arm-4")78 * ANDROIDTC: location of the standalone toolchain, set up in 1.179 75 * OPENSSL: location of openSSL sources, openSSL is required by BOINC Client. 80 76 (Tested with version 1.0.0d) 81 77 * CURL: location of CURL sources, Curl is required by BOINC Client. 82 78 (Tested with 7.27.0) 83 * BOINC: location of BOINC sources, no adjustments for Android necessary,84 use source code from BOINC repository85 * BAPP: location of BOINC app, optional. Not required to build the Client.86 * BOINCINSTALL: destination directory for BOINC binaries.87 * TARGETAPK: location of AndroidBOINC sources.88 Script copies the BOINC Client binary to the Android project's "assets" directory.89 79 90 80 Run script and verify that "boinc_client" executable got created.