Commit Graph

59 Commits

Author SHA1 Message Date
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
Valentin Lemière
9fe3750653 Separate build types, use context variable in templates instead of hardcoding. Fix #353 2016-07-06 09:41:56 +02: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
restorer
5f0e63d7c4 Fix FPS drop when finger is moved around the screen on older android phones 2015-06-07 14:27:43 +03:00
Joshua Granick
933b958e94 Update Android Activity class (fix the crash) 2015-06-04 12:30:47 -07:00
Joshua Granick
7a3617fc78 Guard Android API calls on older devices 2015-01-08 15:02:22 -08:00
Joshua Granick
3687aa18c0 Initial Lime support on Android using SDL2, need to handle assets next 2014-12-08 17:42:18 -08:00
Pascal Peridont
e4879f521b Add on(Save|Restore)InstanceState in Android extensions 2014-09-18 14:28:48 +02:00
Joshua Granick
1675043dd1 Add HXML files for 'final' build config 2014-05-22 15:38:04 -07:00
Joshua Granick
a31249dfb6 Handle 'screenSize' config as well 2014-05-20 11:48:48 -07:00
Hasufel
499f7d13ac comment log.v 'get special dir' 2014-05-01 18:50:45 +02:00
Joshua Granick
b610f27aad Guard onTrimMemory for Android target API < 14 2014-04-23 12:37:29 -07:00
Joshua Granick
a30b450b13 Do not consume keyboard arrow keys on Android (pass to both joystick and keyboard events) and handle dpad center as keyboard enter (like on Kindle FireTV) 2014-04-17 15:23:03 -07:00
Joshua Granick
97dc9df075 Cleanup, compile fix 2014-04-16 15:39:46 -07:00
Joshua Granick
823d409508 Merge pull request #137 from kiroukou/patch-7
Update GameActivity.java
2014-04-16 15:34:14 -07:00
Joshua Granick
b2289e5406 Merge branch 'nme-collab'
Conflicts:
	project/src/backend/sdl2/SDL2Stage.cpp
	project/src/common/Display.cpp
	project/src/common/ExternalInterface.cpp
2014-04-15 14:33:54 -07:00
kiroukou
dc3b496575 Update GameActivity.java
Added onNewIntent to broadcast to extensions
(mainly)
2014-04-15 15:00:03 +02:00
Rui Campos
19be58e2ee added callbacks for onLowMemory and onTrimMemory 2014-04-02 16:32:00 +02:00
Joshua Granick
673448f8a4 Android context fix 2014-04-01 19:01:55 -07:00
Hasufel
d0c87ca1ca KEYCODE_VOLUME_MUTE only available API 11 2014-03-29 14:29:06 +01:00
Simon Morris
1e77247b38 Fix volume and back keys on android 2014-03-11 14:40:53 +00:00
Joshua Granick
88647348d9 Android key fix 2014-03-06 13:33:51 -08:00