android-project/project.properties
author Sam Lantinga <slouken@libsdl.org>
Thu, 31 Aug 2017 15:12:08 -0700
changeset 11432 04dd43a2c83a
parent 7907 24b4e98c6010
permissions -rw-r--r--
Update Android SDK required to API level 16

Sylvain

Some API 16 methods are used (InputDevice: getDescriptor(), getVibrator()), so we need to compile at least with SDK API 16. Hence default.properties and project.properties have been modified to use android-16.

There are also some modification to SDLActivity.java not to use getVibrator() if we run under API 16. And not to check to presence of hasVibrator() if we are under API 11.
-some hard-coded constant can be expandend.
- rename a local variable (hasVibrator to hasVibratorService)
slouken@6631
     1
# This file is automatically generated by Android Tools.
slouken@6631
     2
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
slouken@6631
     3
#
slouken@6631
     4
# This file must be checked in Version Control Systems.
slouken@6631
     5
#
slouken@6631
     6
# To customize properties used by the Ant build system edit
slouken@6631
     7
# "ant.properties", and override values to adapt the script to your
slouken@6631
     8
# project structure.
slouken@6631
     9
#
slouken@6631
    10
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
slouken@6631
    11
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
slouken@6631
    12
slouken@6631
    13
# Project target.
slouken@11432
    14
target=android-16