Commit Graph

36 Commits

Author SHA1 Message Date
Chris Babcock
b89194ada7 Allow volume buttons to be handled by game or system on Android
Adds 2 BP nodes (SetVolumeButtonsHandledBySystem and GetVolumeButtonsHandledBySystem)
#ue4
#android
#codereview Josh.Adams,Marc.Audy

[CL 2521773 by Chris Babcock in Main branch]
2015-04-22 17:01:01 -04:00
Chris Babcock
568d2fcea4 Fix up some depreciated calls for Android
#ue4
#android
#codereview Peter.Sauerbrei

[CL 2489926 by Chris Babcock in Main branch]
2015-03-24 17:06:02 -04:00
Chris Babcock
9c3fe2a8a0 Read Android commandline from proper file path
#ue4
#android
#codereview Daniel.Lamb,Rob.Jones

[CL 2464765 by Chris Babcock in Main branch]
2015-02-27 18:11:18 -05:00
Chris Babcock
eb605a14ab Add GooglePlay login timeout and pass on onActivityResult to GPG with delegate
#ue4
#android
#codereview Ryan.Gerleve,Bart.Bressler

[CL 2421296 by Chris Babcock in Main branch]
2015-01-27 18:30:20 -05:00
Chris Babcock
d3dbf061ee Fixed missed checkin
#android
#ue4

[CL 2412405 by Chris Babcock in Main branch]
2015-01-20 12:23:03 -05:00
Chris Babcock
85709cb752 Fix for UE-7324 freeze with GooglePlay: Added wait for GooglePlay to steal focus after initialization, corrected an issue with return code for early touch events, and removed screen wakeup (caused Samsung freezes).
#android
#ue4
#codereview Rene.Rivera,Ryan.Gerleve

[CL 2411570 by Chris Babcock in Main branch]
2015-01-19 18:26:22 -05:00
JJ Hoesing
dc9fee4bc7 Dead code removal in LaunchAndroid.cpp.
#codereview chris.babcock

[CL 2384449 by JJ Hoesing in Main branch]
2014-12-10 17:28:55 -05:00
Josh Adams
bcebbdfc0f - Cleaned up the Android JNI code
- Started on the work for a separate GooglePlay java class, but that's not in yet (notice: GoogleServicesThis = FJavaWrapper::GameActivityThis)
#codereview chris.babcock,jj.hoesing,robert.jones,rene.rivera

[CL 2383946 by Josh Adams in Main branch]
2014-12-10 13:54:08 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Matthew Griffin
f1c4513760 Renaming FVector ClampSize and SafeNormal functions for clarity
Used DEPRECATED Macro to keep old names around in case I've missed anything

[CL 2370785 by Matthew Griffin in Main branch]
2014-11-26 10:01:12 -05:00
Chris Babcock
30b4fad2f1 Make sure touch events don't called GetScreenRect before OpenGL initialized (would cause init from wrong thread)
#android
#ue4
#codereview Josh.Adams

[CL 2364976 by Chris Babcock in Main branch]
2014-11-19 11:04:52 -05:00
Rene Rivera
ffde9aa6b7 [UE-4398] Implement Android Media plugin, for API 14 an onwards, and packaging changes to support it. Changes include:
Fixed JavaVM so it is automatically detached from a thread when thread exits (stops VM crash on thread exit ever happening)
Move JavaVM access into the application code.
Add utility Java call-in class to make it easier to use Java objects from C++ side.
Implement GetSystemErrorMessage to aid in debugging.
Expose some internal Android EGL data for use in plugins (i.e. the movie plugin).
Add access to Java AssetManager object.
Change Android OBBs from plain PAKs to uncompressed ZIPs of the staged content to allow both multiple PAKs and to allow non-PAK content. In particular this allow movies to be in the OBB as they need to be directly accessed.

#codereview Josh.Adams, Chris.Babcock

[CL 2362008 by Rene Rivera in Main branch]
2014-11-17 11:31:49 -05:00
JJ Hoesing
22f3cbb2fe - Initialize Android VR HMDs from the Java UI thread.
- The Native->Java->JavaUI->Native callback could probably be made more generic than this.

[CL 2335076 by JJ Hoesing in Main branch]
2014-10-20 19:15:50 -04:00
Robert Manuszewski
55f4bd6581 Removed [URL] GameName=Name from ini as we no longer need it for anything else than fixing the game name case (passed from command line)
#change Removed GGameName usage from code and replaced it with FApp::*GameName API
#change Added FApp::SetGameName(), FApp::IsGameNameEmpty()
#change Added IFileManager::GetFilenameOnDisk to get the correct case of a filename on disk
#change Renamed GGameName to GInternalGameName

[CL 2328446 by Robert Manuszewski in Main branch]
2014-10-14 10:31:43 -04:00
Niklas Smedberg
bb8f417304 Support for OpenGL ES 3.1 + Android Extension Pack
[CL 2303212 by Niklas Smedberg in Main branch]
2014-09-18 17:49:40 -04:00
Ryan Gerleve
be1e151d19 Convert to Google Play Games C++ SDK
Fix TTP 344211 - Leaderboard read now works for Google Play

#codereview josh.adams

[CL 2302926 by Ryan Gerleve in Main branch]
2014-09-18 16:41:28 -04:00
Josh Adams
ea7b46777c - Added Android HardwareSurvey
- Unified some of the hardware survey code to use Set/GetStoredValue() for last survey time
- Added Get/SetStoredValue for IOS (to use NSUserDefaults)
- NOTE: Mobile devices will report very often - settings are per app, and when they are deleted and re-installed, they will report again.
#codereview chris.babcock,ian.thomas

[CL 2267419 by Josh Adams in Main branch]
2014-08-22 10:24:13 -04:00
Rene Rivera
42aa3e9fab Fixed missing Android sensor events (tilt, gravity, rotation, acceleration).
#codereview daniel.lamb, chris.babcock

[CL 2236400 by Rene Rivera in Main branch]
2014-07-29 18:07:48 -04:00
Daniel Lamb
7ed0dc7ee3 Started syncing androidMain with onCreate from java to stop synchronzation issues. Removed sleep hack which was doing something similar.
Changed the achivement query so that if not connected it will fail right away instead of waiting.
#codereview Ryan.Gerleve
#codereview Chris.Babcock

[CL 2187831 by Daniel Lamb in Main branch]
2014-07-10 14:41:00 -04:00
Josh Adams
e976d87643 - removed massive AndroidProcessingEvents spam
#codereview daniel.lamb,chris.babcock

[CL 2125771 by Josh Adams in Main branch]
2014-07-02 18:04:51 -04:00
Daniel Lamb
01856904af Fix for android using power in the background.
[CL 2119854 by Daniel Lamb in Main branch]
2014-06-27 15:48:23 -04:00
Josh Adams
6d2a594976 - Added support in the Input project settings to disable the four finger tap.
[CL 2112403 by Josh Adams in Main branch]
2014-06-20 18:54:06 -04:00
Ben Marsh
89668b5397 [INTEGRATE] Everything from 4.2 branch back into main.
[CL 2088526 by Ben Marsh in Main branch]
2014-05-29 17:45:17 -04:00
Daniel Lamb
70c1dbdd00 Integrate 2082055 4.2 -> Main
Fix for google play projects which don't have google play enabled initializing google play..
#codereview Peter.Sauerbrei
#codereview JJ.Hoesing

//depot/UE4-Releases/4.2/Engine/...

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

[CL 2082297 by Daniel Lamb in Main branch]
2014-05-22 15:49:58 -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