182 Commits

Author SHA1 Message Date
Saul Abreu
723301557d Fix for gnustl_shared not being loaded on Android devices before UE4 is loaded.
[CL 2261281 by Saul Abreu in Main branch]
2014-08-18 15:45:13 -04:00
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
365c65b557 TPP #341357 MobileMVP: Add support for OSS connect action in blueprint and response handling
Second pass
Removed new interface and change implementation to use the Indentify interface
Created Android implementation of the same.

[CL 2239877 by Robert Jones in Main branch]
2014-08-01 10:52:44 -04:00
Robert Jones
2aa36b96ac TPP #341357 MobileMVP: Add support for OSS connect action in blueprint and response handling
Initial pass
Adds component for blueprint and interface
Contains Android implementation only.
Everything else is null stubbed out.

Todo: figure out how to deal with failure error codes properly

[CL 2238494 by Robert Jones in Main branch]
2014-07-31 12:34:53 -04:00
Ryan Gerleve
7869cd2a32 Add Android GET_ACCOUNTS permission, needed to reset Google Play achievements
[CL 2234893 by Ryan Gerleve in Main branch]
2014-07-28 15:51:08 -04:00
Ryan Gerleve
c594bb8738 Update the Google Play achievement cache in native code after a reset command
[CL 2234807 by Ryan Gerleve in Main branch]
2014-07-28 14:55:35 -04:00
Ryan Gerleve
7820e78f83 Add new console command "online.ResetAchievements" and implement ResetAchievements for Google Play
On Google Play, this command will reset the achievements of the currently signed in user, and this user must be flagged as tester account in the developer console.
Google only seems to be resetting standard (non-incremental) achievements for some reason.

[CL 2234599 by Ryan Gerleve in Main branch]
2014-07-28 12:50:02 -04:00
Rolando Caloca
62373550e1 UE4 - Fix typo
[CL 2228592 by Rolando Caloca in Main branch]
2014-07-23 11:46:00 -04:00
Chris Babcock
5fc6ab1c3a Added console swipe history for Android
#Android
#ttp 341718
#codereview Daniel.Lamb,Josh.Adams

[CL 2227668 by Chris Babcock in Main branch]
2014-07-22 18:03:47 -04:00
Chris Babcock
53eb0d6358 integrating Android virtual keyboard from UE4-Fortnite to UE4
[CL 2225897 by Chris Babcock in Main branch]
2014-07-21 16:20:58 -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
Daniel Lamb
0efd93402b Removed some warnings from the packaging process. Proguard settings were too inclusive.
[CL 2187609 by Daniel Lamb in Main branch]
2014-07-10 11:20:02 -04:00
Daniel Lamb
b5ac01ca3b Fixed crash on startup on android. Google play structures getting stripped from gameactivity so reflection was failing to initialize in deployment builds.
[CL 2182137 by Daniel Lamb in Main branch]
2014-07-09 15:45:33 -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
Ryan Gerleve
92dfda43e9 Fix Google Play and re-enable it for Tappy Chicken
Don't try to connect() to Google Play before the activity's onCreate() has been called, this was causing a crash/hang.

[CL 2119526 by Ryan Gerleve in Main branch]
2014-06-27 11:22:12 -04:00
Chris Babcock
3e1eef3eb0 Allow portrait on Android tablets, but force landscape on NVidia Shield, Google TV, Kindle Fire TV, Ouya
#TTP 337401 - CRITICAL: Regression: ANDROID: TappyChicken opens in landscape on tablets
#UE4
#Android

[CL 2111000 by Chris Babcock in Main branch]
2014-06-19 18:32:18 -04:00
Ryan Gerleve
410e10ae69 Update proguard-project.txt for AdMob on Android according to SDK recommendations
#github https://github.com/EpicGames/UnrealEngine/pull/183 Malfate
#codereview jj.hoesing

[CL 2085701 by Ryan Gerleve in Main branch]
2014-05-29 17:13:10 -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
fa21b9915b Merging
//depot/UE4-TappyChicken/Engine/Build/...

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

[CL 2081896 by Peter Sauerbrei in Main branch]
2014-05-22 09:08:10 -04:00
Ryan Gerleve
b266e888c8 Implement QueryAchievements for Google Play on Android
This fixes TPP 336286, which involves some achievement issues in TappyChicken. Somewhat hacky, probably worth cleaning up in the future :)

#codereview daniel.lamb, jj.hoesing

[CL 2081230 by Ryan Gerleve in Main branch]
2014-05-21 18:18:08 -04:00
Daniel Lamb
ee6e1e34f3 Changed warning message for android landscape device detection so it was more correct.
[CL 2071796 by Daniel Lamb in Main branch]
2014-05-13 13:21:24 -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
Daniel Lamb
07404d86de Fixed up tappychicken on the shield starting in portrait.
#codereview Josh.Adams

[CL 2061093 by Daniel Lamb in Main branch]
2014-05-01 11:23:41 -04:00
Ryan Gerleve
0391f7f9bd Merging in Google Play connection fix
If the game has successfully connected to Google play, try to reconnect in the activity's onStart function.

[CL 2058914 by Ryan Gerleve in Main branch]
2014-04-29 21:51:48 -04:00
Rene Rivera
f926be7cdc Android, favor the volume keys adjusting the media volume as that is the game volume.
#codereview JJ.Hoesing

[CL 2058217 by Rene Rivera in Main branch]
2014-04-28 17:46:38 -04:00