Commit Graph

17 Commits

Author SHA1 Message Date
Sam Lantinga
a62c94266b Updated required Android SDK to API 26, to match Google's new App Store requirements 2018-08-21 20:46:25 -07:00
Sam Lantinga
6fcd640364 On Android show the system UI when an SDL window is windowed, hide the system UI when it's fullscreen, like we do on iOS.
We're increasing the Android SDK minimum version to API 19, this doesn't increase the minimum target API, which is API 14.
2018-02-11 18:23:37 -08:00
Sam Lantinga
990a5258af Added the old ant Android build project structure 2017-10-28 12:11:25 -07:00
Sam Lantinga
be3cbc7751 Updated Android build tools version, which bumped minimum deployment target to API 14
Also added native code to the Android gradle project, which allows using gradle or Android Studio to build the entire SDL application without a separate ndk-build step.
2017-10-23 23:23:47 -07:00
Sam Lantinga
b0c78879e9 Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
Sam Lantinga
63768bd4df 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)
2017-08-31 15:12:08 -07:00
Sam Lantinga
ebc2d3bba4 Added Matt Styles' tutorial on building SDL for Android with Visual Studio 2017-08-19 00:27:11 -07:00
Ryan C. Gordon
411c27dd6b readme: more HTTPS changes. 2017-02-16 13:55:12 -05:00
Philipp Wiesemann
2dceaf32eb Android: Split long line in README. 2016-10-15 20:01:50 +02:00
Sam Lantinga
4379100ddb Fixed bug 2983 - Update Android.readme to include Tegra Graphics Debugger compatibility tip
Michael Labbé

NVidia has released some pretty nice Tegra profiling tools for their Android devices. The NVidia Tegra Graphics Debugger works by providing an interposer library that intercepts ES2 and EGL calls.  You must link against these libraries.

Unfortunately, this quietly fails with SDL2 because libEGL and libGLES2 are dynamically loaded with dlopen().

NVidia offers a secondary approach to using the Tegra Graphics Debugger: root your device and install a global interposer library.  Almost no devs will try this first if they don’t have a rooted device.

I propose an update to the Android readme that explains why the static linking approach recommended by NVidia doesn’t work.
2016-10-07 17:49:33 -07:00
Sam Lantinga
c3d187a6d0 Converted README documentation to DOS text format 2016-10-07 17:46:58 -07:00
Philipp Wiesemann
48f468765f Fixed doxygen warnings about markdown formatting. 2016-02-24 21:05:19 +01:00
Philipp Wiesemann
2645949c77 Fixed markdown formatting in READMEs. 2014-08-15 23:39:14 +02:00
Philipp Wiesemann
d1e03360ec Updated README. 2014-08-15 23:18:57 +02:00
Philipp Wiesemann
3a8de638c1 Fixed doxygen warnings and markdown formatting. 2014-08-12 23:28:45 +02:00
Philipp Wiesemann
b473c109cd Fixed doxygen warning and markdown formatting. 2014-08-11 23:13:20 +02:00
Sam Lantinga
abc66099f9 Moved documentation to docs, recreated a simple README.txt, fixed build 2014-07-29 08:04:15 -07:00