Changes between Version 4 and Version 5 of AndroidBuildApp
- Timestamp:
- Jul 23, 2013, 7:48:44 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidBuildApp
v4 v5 1 1 [[PageOutline]] 2 = How To Build BOINC Apps for BOINC onAndroid =2 = How To Build BOINC Apps for Android = 3 3 4 This document describes how to build BOINC scientific apps 5 to be executed on Android-powered devices. 6 7 8 = Introduction = 9 10 == Naming convention == 11 12 '''BOINC on Android''' - Android application that bundles a cross compiled BOINC 13 Client together with a Android-specific BOINC Manager (GUI). 14 15 '''BOINC apps''' - scientific applications to be distributed 16 and calculated on participating devices. 17 4 This document describes how to build BOINC apps 5 for Android devices. 18 6 19 7 == Requirements == … … 36 24 == Compatibility with BOINC on Android == 37 25 38 Caution: BOINC on Android runs on all ARM based Android devices. The minimum requirement is therefore ARM ABIv5. Higher ABIs or specific CPU capabilities might only be available on a subset of volunteer's devices. 26 Caution: BOINC on Android runs on all ARM based Android devices. 27 The minimum requirement is therefore ARM ABIv5. 28 Higher ABIs or specific CPU capabilities might only be available 29 on a subset of volunteer's devices. 39 30 It is the project's responsibility to ensure, 40 that distributed BOINC apps meet these requirements. The client reports CPU capabilities, i.e. VFP and NEON support, to the project server. 41 It is recommended to have a fallback version for ARM ABIv5, since not all devices might have higher ABIs available. 31 that distributed BOINC apps meet these requirements. 32 The client reports CPU capabilities, i.e. VFP and NEON support, to the project server. 33 It is recommended to have a fallback version for ARM ABIv5, 34 since not all devices might have higher ABIs available. 42 35 43 36 == BOINC platform name == 44 37 45 38 BOINC on Android uses BOINC platform identifier: "arm-android-linux-gnu" 46 47 = Setup NDK toolchain =48 39 49 40 == Setup NDK toolchain == … … 53 44 54 45 55 = Build script=46 == Build script == 56 47 57 Take a look at the build scripts in the BOINC software repository. They give you an idea of what steps are required and which cross compilation tools to use. 48 Take a look at the build scripts in the BOINC software repository. 49 They give you an idea of what steps are required and which cross compilation tools to use. 58 50 59 There are also scripts available, which build required software components, i.e. curl and openSSL, or BOINC libs. 51 There are also scripts available, which build required software components, 52 i.e. curl and openSSL, or BOINC libs. 60 53 61 54 62 = Example=55 == Example == 63 56 64 57 An example of how to adapt a BOINC app's Makefile to compile it for Android 65 can be found in the BOINC sources at: [https://github.com/novarow/AndroidBOINC/blob/master/native/diffs_android/uppercase/Makefile_android] 58 can be found in the BOINC sources at: 59 [https://github.com/novarow/AndroidBOINC/blob/master/native/diffs_android/uppercase/Makefile_android] 66 60 67 61 Note that the AndroidBOINC build script sets up the required environment