Commit Graph

22 Commits

Author SHA1 Message Date
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
JJ Hoesing
8f73feb1a6 Added AdMob support for Android.
- In Edit/Project Settings/Android, set an AdMob Ad ID and then show and hide ads via blueprints.

[CL 2057848 by JJ Hoesing in Main branch]
2014-04-28 12:19:40 -04:00
Ryan Gerleve
a012285d19 Minimal support for achievements on Android Google Play for TappyChicken
Add mostly-stubbed Google Play OSS, enough for WriteAchievements to work through blueprints
Add ability to configure Google Play achievement ID mappings in the editor
Add the achievement ID mappings for TappyChicken

[CL 2054824 by Ryan Gerleve in Main branch]
2014-04-23 20:22:19 -04:00
Ryan Gerleve
6e9d65d725 Move Google Play services lib for Android into a location that everyone should have, instead of just programmers
[CL 2053916 by Ryan Gerleve in Main branch]
2014-04-23 20:11:35 -04:00
Michael Noland
bbdbf8f019 #ue4
- Added a method to show the platform-specific Achievements screen on Android
#codereview ryan.gerleve

[CL 2051354 by Michael Noland in Main branch]
2014-04-23 19:52:32 -04:00
Ryan Gerleve
122667ec99 #UE4
- Add Google Play support on Android
- Add editor settings for Google Play - enabled/disabled, and the app id for the games service
- Hack in Google Play leaderboards, including blueprint support, proper online subsystem implementation will come in the future
- These leaderboards work in TappyChicken

#codereview josh.adams, jj.hoesing, michael.noland

[CL 2050175 by Ryan Gerleve in Main branch]
2014-04-23 19:40:10 -04:00
JJ Hoesing
5dfb74209b - Make four finger touch more reliable. Fixes TTP:331266
[CL 2044741 by JJ Hoesing in Main branch]
2014-04-23 18:34:35 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00