diff --git a/doc/platforms-android.dox b/doc/platforms-android.dox index 3ac415e4e..6e381cb20 100644 --- a/doc/platforms-android.dox +++ b/doc/platforms-android.dox @@ -142,8 +142,10 @@ version is: @code{.xml-jinja} - + + @@ -163,9 +165,22 @@ displayed in the system (so e.g. @cpp "My Application" @ce) and finally the @cb{.jinja} {{ lib_name }} @ce is name of the library that you compiled with CMake, which in this case would be @cpp "my-application" @ce. -The @cb{.xml} @ce says that -the minimal OpenGL ES version is 2.0, change it in case you require a different -version. Consult [the Android developer documentation](https://developer.android.com/guide/topics/manifest/manifest-intro.html) +The @cb{.xml} @ce line says +that the minimal OpenGL ES version is 2.0, change it in case you require a +different version. + +@anchor platforms-android-apps-manifest-screen-compatibility-mode + +The @cb{.xml} @ce +line requests the minimal and target Android SDK version. Setting the version +lower than this (or accidentally omitting this element) will enable the +[Screen Compatibility Mode](http://www.androiddocs.com/guide/practices/screen-compat-mode.html), +which doesn't report events in coordinates that match underlying framebuffer +pixel size. That is not supported by @ref Platform::AndroidApplication since +there's [no reliable way](https://stackoverflow.com/q/17481341) to get the +actual size used for events in that case. + +Consult [the Android developer documentation](https://developer.android.com/guide/topics/manifest/manifest-intro.html) for further information about the manifest file. With this set up, you have two options how to build the final APK, either using diff --git a/src/Magnum/Platform/Test/AndroidManifest.xml b/src/Magnum/Platform/Test/AndroidManifest.xml index 1a07a36ca..f54c2f736 100644 --- a/src/Magnum/Platform/Test/AndroidManifest.xml +++ b/src/Magnum/Platform/Test/AndroidManifest.xml @@ -1,6 +1,7 @@ +