Changes between Version 4 and Version 5 of AndroidBuildApp


Ignore:
Timestamp:
Jul 23, 2013, 7:48:44 PM (11 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidBuildApp

    v4 v5  
    11[[PageOutline]]
    2 = How To Build BOINC Apps for BOINC on Android =
     2= How To Build BOINC Apps for Android =
    33
    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 
     4This document describes how to build BOINC apps
     5for Android devices.
    186
    197== Requirements ==
     
    3624== Compatibility with BOINC on Android ==
    3725
    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.
     26Caution: BOINC on Android runs on all ARM based Android devices.
     27The minimum requirement is therefore ARM ABIv5.
     28Higher ABIs or specific CPU capabilities might only be available
     29on a subset of volunteer's devices.
    3930It 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.
     31that distributed BOINC apps meet these requirements.
     32The client reports CPU capabilities, i.e. VFP and NEON support, to the project server.
     33It is recommended to have a fallback version for ARM ABIv5,
     34since not all devices might have higher ABIs available.
    4235
    4336== BOINC platform name ==
    4437
    4538BOINC on Android uses BOINC platform identifier: "arm-android-linux-gnu"
    46 
    47 = Setup NDK toolchain =
    4839
    4940==  Setup NDK toolchain ==
     
    5344
    5445
    55 = Build script =
     46== Build script ==
    5647
    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.
     48Take a look at the build scripts in the BOINC software repository.
     49They give you an idea of what steps are required and which cross compilation tools to use.
    5850
    59 There are also scripts available, which build required software components, i.e. curl and openSSL, or BOINC libs.
     51There are also scripts available, which build required software components,
     52i.e. curl and openSSL, or BOINC libs.
    6053
    6154
    62 = Example =
     55== Example ==
    6356
    6457An 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]
     58can be found in the BOINC sources at:
     59[https://github.com/novarow/AndroidBOINC/blob/master/native/diffs_android/uppercase/Makefile_android]
    6660
    6761Note that the AndroidBOINC build script sets up the required environment