Commit Graph

76 Commits

Author SHA1 Message Date
aW4KeNiNG
f6879da971 Request Permission result for Android. 2017-07-10 17:28:02 -07:00
Justin Espedal
f31b29fc3c Auto-detect Android build-tools version
Use <android build-tools-version="" /> to specify a version in project xml.
2017-06-05 16:01:09 -07:00
Joshua Granick
d736579bfe Add support for Gradle build directory (resolve #802) 2017-06-05 15:34:20 -07:00
Joshua Granick
ad72b1ef5b Correct state when exiting Android application (resolves #787, close #765) 2017-05-16 14:33:31 -07:00
Joshua Granick
ac13182fd0 Update to SDL dev 22a0b777d7cd 2017-05-04 15:15:29 -07:00
Joshua Granick
2d74f0af81 Patch support for proper suspend/resume behavior on Android in SDLActivity 2017-03-31 15:18:23 -07:00
Joseph Cloutier
9bbb6205be Allow setting a different Gradle plugin version.
Turns out, the Gradle version (2.10) is NOT the same as the plugin version (2.1.0). These have to be treated separately.
2017-02-13 13:01:27 -05:00
Joseph Cloutier
b4055db620 Revert "Allow setting a different Gradle version."
This reverts commit af05162c72.
2017-02-13 12:55:51 -05:00
Joseph Cloutier
af05162c72 Allow setting a different Gradle version. 2017-02-12 15:17:47 -05:00
Joshua Granick
62f9fe0b7c Compile fix 2017-01-26 15:07:10 -08:00
Joshua Granick
9c5a3590bd Improve display.dpi values 2017-01-26 14:36:08 -08:00
Joshua Granick
0f41f2555b Correct state when exiting Android application (resolves #787, close #765) 2017-01-11 11:50:23 -08:00
Joshua Granick
54a8f32f60 Add System.openFile / System.openURL 2016-11-11 16:46:43 -08:00
Joshua Granick
2c94bc255e Android template improvements 2016-10-27 12:12:43 -07:00
Joshua Granick
fc4fbd45aa Improve Android immersive mode (close #1325) 2016-10-27 08:53:31 -07:00
Joshua Granick
384fdf2942 Compile fix, cleanup 2016-10-24 17:46:54 -07:00
Federico Bricker
a361b4681e Add lime.ui.Haptic.vibrate(...) function (just for android right now... iOS will be soon) 2016-10-24 17:16:00 -07:00
Joshua Granick
e509fdeb69 Update to SDL 2.0.5 2016-10-21 16:26:31 -07:00
Joseph Cloutier
521a81ce8c Make Gradle use the right APK filename.
Rather than making Lime rename it after the fact.
2016-10-16 15:41:47 -04:00
Federico Bricker
90d0c44f4b Fix Android compilation using debug 2016-10-10 06:35:36 -07:00
Joshua Granick
6d0f726574 Allow submission to non-touchscreen devices (FireTV, Chromebook...) 2016-09-28 18:43:47 -07:00
Emin Fedar
f08627b1a6 Android SDK gives error when android:debuggable="false"
Write only if it is true.
2016-09-08 13:21:33 +03:00
Joshua Granick
0aac32f551 Use Android build tools 24.0.1, don't require HTTPS 2016-08-08 14:42:30 -07:00
player-03
574bb0118b Include the libs folder. 2016-08-08 13:40:14 -07:00
player-03
5af4034541 If build.xml exists, ignore it and use a bunch of Gradle code instead. 2016-08-08 13:39:39 -07:00
player-03
f7fcad06c1 Use Gradle to deal with missing build.gradle files. 2016-08-08 13:39:00 -07:00
player-03
17eeceae48 Add libs folder, so users know where to place JAR files. 2016-08-08 13:38:21 -07:00
player-03
481b39b01b Fix dependencies. 2016-08-08 13:37:32 -07:00
player-03
b4bec36810 Remove build.xml, since it's no longer used. 2016-08-08 13:36:30 -07:00
player-03
bf5b0abdf2 Specify buildToolsVersion. 2016-08-08 13:35:56 -07:00
player-03
1ecb95598b Always define signingConfigs.release. 2016-08-08 13:35:26 -07:00
player-03
391a7bb6bc Remove redundancy. 2016-08-08 13:34:37 -07:00
player-03
2788dec2a5 Consistently use tabs in build.gradle. 2016-08-08 13:34:24 -07:00
player-03
83d561481d If project.xml doesn't define a certificate, instead check for a file named signing.properties. 2016-08-08 13:33:31 -07:00
player-03
b027b7764f Use gradle.properties to store project-wide values. 2016-08-08 13:33:15 -07:00
player-03
22d07a5c75 Add local.properties to Android projects. 2016-08-08 13:32:42 -07:00
player-03
eaee9c79c5 Replace placeholder package name. 2016-08-08 13:31:53 -07:00
player-03
3fa3440aeb Add Gradle build files. 2016-08-08 13:31:36 -07:00
player-03
7beca72f18 Restructure Android project to match Gradle's guidelines. 2016-08-08 13:30:26 -07:00
player-03
a4a27a2edc Add "gradle-version" configuration option. 2016-08-08 13:29:06 -07:00
player-03
d54fc9438c Use a Gradle wrapper. 2016-08-08 13:28:01 -07:00
player-03
678a8f7e20 Add build.gradle. 2016-08-08 13:27:33 -07:00
Joshua Granick
de7ef6ea80 Update to SDL 2.0.4 2016-01-08 09:30:17 -08:00
Joshua Granick
6a2eda8612 Update Android Java template 2015-10-19 15:43:03 -07:00
Joshua Granick
68ede0574a Resolve no text input on Galaxy S6 predictive text keyboard issue 2015-10-12 11:34:17 -07:00
Joshua Granick
c4d05afb40 Update SDL version 2015-09-14 13:56:34 -07:00
Joshua Granick
1e698225e5 Add extension.onBackPressed (for Android) 2015-09-02 19:55:28 -07:00
Joshua Granick
603da175d2 Make all touch events use normalized (0-1) coordinates 2015-08-12 10:58:02 -07:00
Joshua Granick
dd8ca69353 Port JNI class from Lime legacy 2015-08-11 15:39:41 -07:00
Vincent Petry
d675eb2713 Fix touch coords in Android SDLActivity
The coordinates are already relative to the display so they should be
kept as such when passing them to SDL native.
2015-06-18 23:10:50 +02:00