Commit Graph

50 Commits

Author SHA1 Message Date
Josh Adams
49f5667db9 - Fixed Android install script on Mac [UE-8083]
[CL 2415628 by Josh Adams in Main branch]
2015-01-22 14:33:53 -05:00
Robert Jones
b5a273a278 SDK path editing in editor.
- Added class to hold values (AndroidSDKSettings)
- Added code to Android editor module to setup the values on load
- Changed device detection so that the thread is always started and the SDK path can be changed on the fly
- Changed Platform Target Management Module so that a single platform can be checked via UBT
- Settings can now be sourced from an ini file via temp direct reading code (auto seralisation is disabled until later changes are made)
-- Settings currently not exposed in editor

- Added Mac Environment var setting support

Unreleated
- Envars can now be passed down to process start points in tools

#codereview michael.trepka

[CL 2412194 by Robert Jones in Main branch]
2015-01-20 10:05:42 -05:00
Michael Trepka
b72f8ae502 Call adb in AndroidPlatform automation script directly instead of using cmd.exe or sh to fix issues with Run returning empty output from these commands
[CL 2406337 by Michael Trepka in Main branch]
2015-01-14 16:02:37 -05:00
Michael Trepka
5b0dab839f Made the Mac install script for Android deployment runnable from Finder
#lockdown Zachary.EdgertonJones

[CL 2403543 by Michael Trepka in Main branch]
2015-01-12 12:02:43 -05:00
Rene Rivera
2c49198a3e [UE-6843] Fix graphics streching problems when launchng on a non-keylocked screen-locked device. This moves the screen unlocking from UAT to the game itself. Which allows for proper screen wakeup and lock dismissal.
#codereview josh.adams, chris.babcock

[CL 2396541 by Rene Rivera in Main branch]
2015-01-05 08:49:14 -05:00
Ben Marsh
9c9f7f145a Another fix for building on Mac (exception in AndroidPlatform on build farm due to missing .bash_profile)
#codereview Michael.Trepka
#lockdown Zachary.EdgertonJones

[CL 2386547 by Ben Marsh in Main branch]
2014-12-11 22:44:38 -05:00
Michael Trepka
5df3be8fd1 On Mac, read Android SDK paths from .bash_profile and set evn variables using them
[CL 2386181 by Michael Trepka in Main branch]
2014-12-11 17:09:39 -05:00
Michael Trepka
9c522df7ef Initial support for Android deployment on Mac
[CL 2386013 by Michael Trepka in Main branch]
2014-12-11 15:30:24 -05:00
Josh Adams
34060a2811 - Fixed apk selection for ES31, and removed log spam
[CL 2385988 by Josh Adams in Main branch]
2014-12-11 15:14:54 -05:00
Josh Adams
fd3d1c2a1a [Important BUNs in here]
- Enabled ES31 for GitHub/P4 users (currently only works on a Tegra K1 with recent system software)
- Always use separate APKs - this means that all APKs will have -armv7-es2 (or whatever) in their name. This may affect scripts, etc people have written
- Fixed a bug when using multiple java libraries (for users who add their own libs)
- Properly collapse Android devices into a single device with multiple variants. LaunchOn will now choose the best format based on the connected device. If you want to override the format, you will need to use the ProjectLauncher
- Added Android serial number to the device type, in case you have multiple devices of the same type (also fixes [UE-3770])
#codereview niklas.smedberg,chris.babcock

[CL 2385821 by Josh Adams in Main branch]
2014-12-11 13:44:41 -05:00
Michael Trepka
a1dbef8e2f Modified the way AndroidPlatform.Automation.cs is launching adb tool so it works on Unix platforms
[CL 2383908 by Michael Trepka in Main branch]
2014-12-10 13:33:56 -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
Chris Babcock
4c8c80aae8 Write correct adb and optional device serial number passthru for install batch file (Android packaging)
#android
#ue4
#codeview Josh.Adams,Rob.Jones

[CL 2365084 by Chris Babcock in Main branch]
2014-11-19 12:05:49 -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
Robert Jones
da37c1609f Improvements to Android deploy - queries the device for the external data directory so that the runtime and push are using the same locations
Small change to BuildCookRun to query the game ini for Android package options rather than pulling it from the command line

[CL 2354392 by Robert Jones in Main branch]
2014-11-10 06:04:27 -05:00
Saul Abreu
44baed0ff7 Added settings for staging internationalization presets. Updated staging logic to stage ICU internationalization data presets from commandline arguments or settings. Added default settings for internationalization presets.
[CL 2341735 by Saul Abreu in Main branch]
2014-10-27 19:33:51 -04:00
Saul Abreu
a05e2d523e Corrected platform-specific ICU data staging logic that was using the old paths.
[CL 2339348 by Saul Abreu in Main branch]
2014-10-23 19:42:28 -04:00
Peter Sauerbrei
bcaa096da8 fix for Tappy Chicken not launching past splash screen on iOS
fix for Android unable to launch projects via UFE
fix for Project Launcher default roles settings not being used
TTP347511, TTP347613, TTP347768
#ue4

[CL 2311418 by Peter Sauerbrei in Main branch]
2014-09-26 15:27:39 -04:00
Ankit Khare
45477d14da Pak file creation - add the ability override UAT command line arguments per platform with a 3 state setting - Always, Never, Don't care. Fixes an issue where pak files were created even when we don't want (for now, atleast).
#codereview peter.sauerbrei, daniel.lamb

[CL 2307825 by Ankit Khare in Main branch]
2014-09-23 20:31:24 -04:00
Josh Adams
4cec25879d - No longer compile Engine.generated.1.cpp and .2.cpp together, as the large resulting code is crashing x86 android compiler.
- Fixed a couple issues with Android fat binaries (cleaning and obb being archived multiple times)
- Touched Engine.h to force a UHT refresh
#codereview Robert.Manuszewski

[CL 2305487 by Josh Adams in Main branch]
2014-09-22 09:46:58 -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
Jack Porter
41e7c27325 [MMVP-74] Android packaging / deployment error reporting
[CL 2294967 by Jack Porter in Main branch]
2014-09-12 06:23:49 -04:00
Josh Adams
3dfba186ec - Added apk selection based on connected device
#codereview chris.babcock,niklas.smedberg

[CL 2289673 by Josh Adams in Main branch]
2014-09-08 14:02:00 -04:00
Josh Adams
71e5bd4917 - Fixed apk naming issue
[CL 2272315 by Josh Adams in Main branch]
2014-08-26 14:02:30 -04:00
Josh Adams
d67a3a64a5 - Initial "Fat" binary support for Android - multiple architectures at once, by compiling multiple .so's in one go of UBT (will be controlled by Project Settings, intentionally hidden for now)
- Added option to allow for splitting up into multiple .apks, or a single "fat" .apk (also not exposed yet in the project settings)
- A fat binary is just named <Project>.apk, no longer <Project>-armv7.apk
- x86 almost works, except missing libCurl and ICU
- x64 and arm64 will come next now that this framework is in place
#codereview chris.babcock

[CL 2272105 by Josh Adams in Main branch]
2014-08-26 09:56:29 -04:00