mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user