android-project/default.properties
author Sam Lantinga
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)
     1 # This file is automatically generated by Android Tools.
     2 # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
     3 # 
     4 # This file must be checked in Version Control Systems.
     5 # 
     6 # To customize properties used by the Ant build system use,
     7 # "build.properties", and override values to adapt the script to your
     8 # project structure.
     9 
    10 # Project target.
    11 target=android-16