Commit Graph

17 Commits

Author SHA1 Message Date
Daniel Lamb
60ef19ca8f Added code to move android application to background (minimize). Also implemented quit for android.
Added JNI error codes to make errors in that easier to debug.

[CL 2243721 by Daniel Lamb in Main branch]
2014-08-04 20:46:25 -04:00
Robert Jones
69677a61ef #ttp 338022 TappyChicken: Android: Add back button
Bug Fix : Events not being correctly routed to "Android Back" Blueprint node

[CL 2237055 by Robert Jones in Main branch]
2014-07-30 11:06:28 -04:00
Mike Fricker
72a34e4ee9 Compile Times: Fixed Core module needing two separate PCH headers in monolithic compiles
- Changed Core module to use Core.h (removed CorePrivate.h)
- CorePrivate.h only included Core.h, so their PCHs were identical other than name
- Does not affect modular builds, as we need different defines for DLLExport/DLLImport for private and public PCH headers

[CL 2221011 by Mike Fricker in Main branch]
2014-07-16 13:44:46 -04:00
Robert Jones
229955303b #ttp 338022 TappyChicken: Android: Add back button
Added 'Android Back' for specific back button support in Android.
Tested via adding a temp node to Tappy Chicken to make sure it works as expected; which it does.

[CL 2191729 by Robert Jones in Main branch]
2014-07-11 10:29:51 -04:00
Chris Babcock
66f4e50964 Changed default Android depth buffer precision to 24 and added Android platform setting to choose preference.
#Android
#TTP 334728

[CL 2120147 by Chris Babcock in Main branch]
2014-06-27 17:59:00 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Jack Porter
5776ee4dc3 Android stack walking displaying function signatures. addr2line can be used offline with the address displayed to get the exact source file and line number.
[CL 2104022 by Jack Porter in Main branch]
2014-06-12 22:11:52 -04:00
Peter Sauerbrei
aa5a1232f1 Merging
//depot/UE4-TappyChicken/Engine/Source/...

to //depot/UE4/Engine/Source/...

[CL 2081906 by Peter Sauerbrei in Main branch]
2014-05-22 09:13:12 -04:00
Daniel Lamb
ebd6c8303d Changes for packing OBB into APK file.
- Added functionality to GameActivity to query for the asset manager and the mode we are using for OBB data
- Added UI element to toggle OBB packing into APK in the project packaging config panel
- Added code to add a command line switch to turn on packing during building
- Changed build system so that it will write out a JavaBuildConfig file so we know at runtime where to find the data
- Change the build system to copy and rename the OBB so that it is in the APK's asset directory uncompressed
- Added IFileHandle implementation to handle reading from an Asset based OBB and changed the OBB locating code so deal with looking for the OBB in the APK
Submitted on behalf of Robert Jones.
#codereview Daniel.Lamb,Robert.Jones

[CL 2071675 by Daniel Lamb in Main branch]
2014-05-13 11:40:41 -04:00
Rene Rivera
c1d8600250 Platform; implement sensor events for Android. The implementation will use the accelerometer to derive tilt, rotation rate, gravity, and linear acceleration. If avialable gyroscope readings will get used for the rotation rate.
#codereview josh.adams,robert.jones

[CL 2067346 by Rene Rivera in Main branch]
2014-05-08 15:57:50 -04:00
Michael Trepka
8ce2803cab Removed obsolete GPrimaryMonitorWidth, GPrimaryMonitorHeight, GPrimaryMonitorWorkRect, GVirtualScreenRect and GGameWindow* global variables and functions that were used to initialize them.
[CL 2058972 by Michael Trepka in Main branch]
2014-04-29 21:52:56 -04:00
Robert Jones
336c11c52a #ttp 331016 -Android: Replace hardcoded /mnt/sdcard with getExternalStorageLocation() or whateve
#proj UnrealEd
#branch UE4
#summary On startup external storage location is queried and cached for subsequent file ops

[CL 2046768 by Robert Jones in Main branch]
2014-04-23 18:59:23 -04:00
Josh Adams
0bae998492 - Fixed controller buttons in Android
- Added some buttons inspired by kindle fire tv
#codereview jj.hoesing

[CL 2045519 by Josh Adams in Main branch]
2014-04-23 18:45:11 -04:00
JJ Hoesing
44dfb31a3c - Fixed TTP:329773 Android volume buttons don't work.
- We were telling the OS that we were handling all key input.  Changed to only say we've handled mapped buttons.

[CL 2040339 by JJ Hoesing in Main branch]
2014-04-23 17:39:33 -04:00
Jaroslaw Surowiec
a383345fef #UE4
- Platform memory fixes

[CL 2038584 by Jaroslaw Surowiec in Main branch]
2014-04-23 16:40:14 -04:00
Niklas Smedberg
d534b0d979 #android Faster CPU performance by setting affinity mask for the gamethread, renderthread and eventthread.
[CL 2038270 by Niklas Smedberg in Main branch]
2014-04-23 16:36:00 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00