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)
This commit is contained in:
parent
f3c99e56d3
commit
0dadd6b804
4 changed files with 46 additions and 38 deletions
|
@ -10,14 +10,14 @@ The rest of this README covers the old style build process.
|
|||
Requirements
|
||||
================================================================================
|
||||
|
||||
Android SDK (version 12 or later)
|
||||
Android SDK (version 16 or later)
|
||||
https://developer.android.com/sdk/index.html
|
||||
|
||||
Android NDK r7 or later
|
||||
https://developer.android.com/tools/sdk/ndk/index.html
|
||||
|
||||
Minimum API level supported by SDL: 10 (Android 2.3.3)
|
||||
Joystick support is available for API level >=12 devices.
|
||||
Joystick support is available for API level >= 12 devices.
|
||||
|
||||
================================================================================
|
||||
How the port works
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue