Commit graph

82 commits

Author SHA1 Message Date
antoniou
af5218d128 ANDROID: update comment on build.gradle
For Store release version
2020-10-25 13:52:41 +02:00
antoniou
ec703bd4de ANDROID: use gradle's auto-align and set debuggable to false for release builds
There were issues with manually aligning apks possibly  due to upgrading gradle

The manual zipalign even though running with no fail message, would NOT align the apk properly anymore.
Command to manual verify alignment of an apk is:
Android/Sdk/tools/bin/zipalign -c -v 4 release/ScummVM-release-unsigned.apk
2020-10-18 12:58:44 +03:00
antoniou
b942e5bbbd ANDROID: Update versionCodes post 2.2.1c (beta3) release 2020-10-17 22:47:46 +03:00
antoniou
055919af67 ANDROID: Fix crash when connecting or disconnecting physical keyboard
And also add some code to load and use the keyCharacterMap of the source device for the event

It is unclear if getUnicodeChar() already does this (loads the keyCharacterMap of the source device.
If it does, then the extra code is redundant.
2020-10-17 22:03:31 +03:00
antoniou
eeb83a6e28 ANDROID: Fix shifted keys and key combos 2020-10-17 19:22:02 +03:00
antoniou
7b6c184c29 ANDROID: Use gradle 6.7 and plugin 4.1.0
Also remove ndk.dir from local.properties since it is getting deprecated

Gradle will only use the info (ndkVersion) in gradle.build. Possibly ndkPath too, but we probably don't need that, since ndk is within the sdk folder (default location)
2020-10-15 19:14:13 +03:00
antoniou
acc8aad2ba ANDROID: Use a in-app keyboard instead of system
Keyboard was ported over from our SDL port which used https://github.com/pelya/commandergenius/tree/sdl_android/project

Pending optimizations, floatable/draggable implementation and a few bug fixes
We are using a local copy and slightly modified version of KeyboardView and Keyboard (and related resources).
since the android KeyboardView widget will be deprecated in API 29.
The copies are taken from the AOSP, as per the recommendation from Android Developers.
2020-10-15 18:39:24 +03:00
antoniou
7fb6dcbf6e ANDROID: Reduce lint warnings and offer more drawable sizes
Also slightly tweak position and size of keyboard icon
2020-10-13 14:10:08 +03:00
antoniou
350debc3ee ANDROID: Revert to targeting API 28 to prevent file access issues
See bug ticket: https://bugs.scummvm.org/ticket/11753

API 29 makes certain file access functions return empty lists due to restricitve policies. We need to come up with an alternative for Android 10 and higher, when we will switch to targeting API 29 (or higher). Google enforces this switch on November 2nd for application updates.
2020-10-04 12:33:29 +03:00
antoniou
0baa138afb ANDROID: Restore app icon that got wrongly removed 2020-10-03 01:11:32 +03:00
antoniou
3f177b5d0d ANDROID: Reduce more Lint warnings
Unused resources, mem leak for event handler, overried View's performClick for accessibility
2020-10-02 19:53:06 +03:00
antoniou
301c4ef3af ANDROID: Increase version code for 2.2.1c
Beta 2 was codes 53-56 and was rolled out on Oct 2. New codes are 57-60

This batch could be the final one (out of beta) for 2.2.1
2020-10-02 12:50:27 +03:00
antoniou
c7a3c048ea ANDROID: updated versionCodes for next Beta and release 2020-09-30 19:51:37 +03:00
antoniou
de14e6764c ANDROID: Splash screen and additional locations to search for config and saves
The splash screen is an addition that was "forced" by the need to allow for permission granted to access external physical storage
2020-09-29 22:16:16 +03:00
antoniou
39c3c1466f ANDROID: Reduce Lint warnings 2020-09-29 22:16:05 +03:00
antoniou79
26b027a81e ANDROID: Set target SDK to 29
As per the Play Store rules.

From 2 November 2020, app updates must target Android 10 (API level 29) or higher. (https://developer.android.com/distribute/best-practices/develop/target-sdk)
2020-09-28 01:13:23 +03:00
antoniou79
22de90f031 ANDROID: DISTS: Upgrade gradle and gradle plugin versions
This repeats the commit change that mduggan did

The original commit was:
fdf84ed93e
Then it got revered by:
280446deb1
We need to manually remove some (android_project) directories in order for the builds to succeed on our buildbot after these changes. The buildbot does this itself once daily.
2020-09-28 00:30:57 +03:00
Matthew Duggan
73d3834e6c ANDROID: Add more icon variants
This makes the icon render much better on Android 11 and Chromebook devices.  I
think it should also be backwards compatible - although the oldest device I had
to test was Android 7, it works fine there.
2020-09-27 21:07:51 +03:00
antoniou
09c59f62cf ANDROID: Set version and start code for 2.2.1 2020-09-27 20:51:45 +03:00
antoniou
9d18d03dce ANDROID: Account for possible v2.2.1 in build.gradle 2020-09-24 14:38:43 +03:00
antoniou
7a6776f121 ANDROID: Set new version code(s) for 2.3.0 2020-09-24 14:38:41 +03:00
antoniou
d95066e04d ANDROID: Migrate old save files
More testing pending
2020-09-24 14:18:09 +03:00
antoniou
b4081e12b0 ANDROID: get version info (wip) and use androidx for annotations
Also androidx is replacing the Android Support library so it's best to use this one

According to https://developer.android.com/jetpack/androidx
AndroidX is a major improvement to the original Android Support Library, which is no longer maintained. androidx packages fully replace the Support Library by providing feature parity and new libraries.
AndroidX replaces the original support library APIs with packages in the androidx namespace. Only the package and Maven artifact names changed; class, method, and field names did not change.
2020-09-24 14:18:08 +03:00
antoniou79
70fce0d0a4 ANDROID: Comment about new versioCodes 2020-07-22 06:05:24 +03:00
antoniou79
c002873cc4 ANDROID: Request NDK version 21.3.6528147 in build.gradle 2020-07-22 05:44:56 +03:00
Le Philousophe
4367c2d350 ANDROID: Don't target Android API level 29 yet
Android API level 29 introduces scoped storage which is enabled by
default for applications targeting level 29.
This protection prevents us to access external storage.
There is a compatibility flag but it will disappear in Android 11.
To target more recent platforms, we should implement SAF FS backend.
2020-04-07 11:36:02 +03:00
Peter Kohaut
470a1d3586 ANDROID: Switch to Gradle
Updated NDK to r21 (LTS)
Switch target Android to 29 as it is required by Google Play Store
Switch minimum Android to 16 (4.1) as it is the lowest supported version by NDK
Removed MIPS and armeabi as they are no longer supported
Renamed Android build names into official ones
2020-03-27 22:45:25 +01:00
Thanasis Antoniou
3c9741a4c3 ANDROID: Early fix for Android 9+ crash and config/save path issues 2020-01-31 17:23:15 +02:00
Thanasis Antoniou
e7a19d378e ANDROID: Disable support for split screen
Currently the ScummVM app will just exit in split-screen so that's not desireable

Disabled until we implement proper support, if deemed necessary
2019-11-10 17:05:20 +02:00
Thanasis Antoniou
4eecfb8da9 ANDROID: Disable verification of certificates validity for cloud saving
Also added macros for the plain (non-SDL) Android port __ANDROID_PLAIN_PORT__ and ANDROID_PLAIN_PORT

The workaround of this commit uses the same logic as for the Nintendo Switch port and should suffice for testing purposes. It should be replaced by more elaborate code of installing and maintaining a certificates pem file.
2019-11-01 19:13:27 +02:00
Thanasis Antoniou
4e248a70bf ANDROID: Set target sdk to 28 in project.properties
Also minor additions of tags in Manifest files
2019-10-21 13:59:00 +03:00
Thanasis Antoniou
4762b02a52 ANDROID: Set target SDK to 28 2019-10-21 12:39:32 +02:00
Thanasis Antoniou
30b789de39 ANDROID: Set target SDK to 26 to AndroidManifest.xml and project.properties files 2019-10-05 23:57:35 +03:00
Thanasis Antoniou
6cc2556963 ANDROID: Update AndroidManifest.xml.in for READ_EXTERNAL_STORAGE 2019-09-30 07:21:17 +03:00
Eugene Sandulenko
3c92722db6 ANDROID: Request permissions to external storage 2019-09-27 00:22:20 +02:00
Eugene Sandulenko
41b49444b6 RELEASE: This is 2.2.0git 2019-09-23 00:12:30 +02:00
Cameron Cawley
8b4c3ea302 ANDROID: Use a better icon for the on screen control
Modified from https://www.iconfinder.com/icons/352464/keyboard_icon, which is available under the Creative Commons (Attribution-Share Alike 3.0 Unported) license.
2019-08-20 14:32:50 +03:00
Cameron Cawley
12c232eefc ANDROID: Add a button to show the virtual keyboard 2019-08-20 14:32:50 +03:00
Matan Bareket
eaa9f23505 BUILD: Update logos and icons on ports 2019-04-02 10:55:57 -04:00
Cameron Cawley
543027de11 ANDROID: Update the README file 2019-02-01 04:40:21 +00:00
Thierry Crozat
cd7e6cd31c RELEASE: This is 2.1.0git 2017-11-30 00:13:10 +00:00
Colin Snover
404657d80d ANDROID: Remove unnecessary additional activity
For an unknown reason, having a second activity for Android TV
(Leanback) caused ScummVM to be broken on some Android devices.
According to Android documentation, TV can be supported in the same
activity as everything else, so merge the two together.

Fixes Trac#10024.
2017-11-23 14:02:55 -06:00
Colin Snover
583c7cf622 ANDROID: Clean up AndroidManifest.xml
Keep uses-flags at the top to avoid them getting buried below
the activities, update target SDK to the minimum supported by
current Android SDKs, make Wi-Fi optional, and add screenSize
configuration change recommended by the Android documentation since
orientation is already supported.
2017-11-23 14:02:55 -06:00
Colin Snover
c13defd661 RELEASE: 1.10 will henceforth be known as 2.0
General consensus on the ML was that people wanted to do this.
http://lists.scummvm.org/pipermail/scummvm-devel/2017-November/012008.html
2017-11-21 15:26:52 -06:00
Eugene Sandulenko
53790e7497 RELEASE: This is 1.10.0git 2016-09-26 20:57:54 +02:00
Alexander Tkachev
a13e03e988 CLOUD: Add Networking::Connection::isLimited()
`false` everywhere by default, but works on Android (`true` if not
Wi-Fi).
2016-08-24 16:07:55 +06:00
Alyssa Milburn
ce9573c8c5 ANDROID: Relax manifest hardware requirements.
This is necessary to make the package installable via Google Play for
almost all modern devices.
2016-06-12 08:55:21 +02:00
Matthew Garrett
497859ad90 ANDROID: Add support for Leanback Launcher on Android TV
Android TV needs some modifications to the manifest and a new icon in order
for apps to appear in the launcher.
2016-05-22 15:23:44 -07:00
Eugene Sandulenko
0930018045 RELEASE: This is 1.9.0git 2016-02-05 23:31:25 +01:00
Joel Teichroeb
59934881a1 ANDROID: Remove unpacker and fix support for non arm 2015-01-05 20:18:31 -08:00