Commit Graph

133 Commits

Author SHA1 Message Date
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
Joshua Granick
68dff31af8 Fix Android char code 2014-02-13 15:51:58 -08:00
Joshua Granick
92a82145bb Fix Android key codes 2014-02-13 15:44:51 -08:00
Joshua Granick
a706e4cacb Compile fix 2014-02-13 13:59:38 -08:00
Joshua Granick
7c5fde6cbb Use charCode and keyCode from Android 2014-02-13 11:56:42 -08:00
Joshua Granick
e175cfe154 Merge openfl-native templates 2014-02-13 09:41:09 -08:00
Christopher Kaster
83c2f9ad30 remove redundant code for immersive mode, make immersive sticky and disable old fullscreen flags for android devices below api 19 2014-02-04 15:09:41 +01:00
Christopher Kaster
dec40dab5f add support for android-19 immersive mode 2014-02-04 14:34:28 +01:00
underscorediscovery
9099d89a67 Provisionally cleaning up older --macro calls from the build files.
It seems keep is a macro in newer versions of haxe, and is the preferred
way anyway. I can't manage to get the compiler to remove the Main file
no matter what, so removing it provisionally. It causes FD and probably
more to choke on the code complete step when it throws errors from the
--macro option.

This can be readded if keep is really needed, but it doesn't appear to
be (or if it's using the incorrect keep syntax then that could be
corrected).
2014-02-01 05:45:51 -03:30
underscorediscovery
ba35d41715 Updating templates path 2013-11-28 01:23:25 -03:30