Changes between Version 15 and Version 16 of AndroidBuildApp


Ignore:
Timestamp:
Nov 19, 2014, 9:21:10 PM (10 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidBuildApp

    v15 v16  
    7373== Position-independent executables (PIE) ==
    7474Starting with version 4.1, Android supports '''position-independent executables''' (PIE).
    75 Starting with version 5.0, PIE is mandatory - Android will refuse to run native executables
     75Starting with version 5.0, PIE is mandatory - Android refuses to run native executables
    7676that are not PIE.
    7777
     
    8181LOCAL_LDFLAGS += -fPIE -pie
    8282}}}
     83
     84The BOINC client reports Linux kernel version rather
     85than Android version in the os_version field.
     86However, this is sufficient to distinguish between pre- and post-4.1:
     87{{{
     88Android Version    |API Level  |Linux Kernel in AOSP
     89----------------------------------------------------
     901.5   Cupcake      |3          |2.6.27
     911.6   Donut        |4          |2.6.29
     922.0/1 Eclair       |5-7        |2.6.29
     932.2.x Froyo        |8          |2.6.32
     942.3.x Gingerbread  |9, 10      |2.6.35
     953.x.x Honeycomb    |11-13      |2.6.36
     964.0.x Ice Cream San|14, 15     |3.0.1
     974.1.x Jelly Bean   |16         |3.0.31
     984.2.x Jelly Bean   |17         |3.4.0
     994.3   Jelly Bean   |18         |3.4.39
     1005.0   Lollipop     |19         |???
     101}}}
     102You should use appropriate plan classes so that PIE app versions
     103are sent only to 3.0.31 or later systems.
     104
     105If you have both PIE and non-PIE, send non-PIE only to 3.0.1 or earlier.
     106
     107If you have only non-PIE, wait until we either
     108 * learn that the kernel version of Lollipop is > 3.4.39
     109 * include the Android version in the os_version field.
    83110
    84111== FORTRAN on Android NDK (optional build) ==