Commit Graph

115 Commits

Author SHA1 Message Date
Le Philousophe
57e27dcf12 ANDROID: Let user customize its preferred touch modes
There are 3 settings: in menus, in 2D games, in 3D games
2022-06-14 00:08:04 +03:00
antoniou79
05b682fdc3 ANDROID: New versionCodes 89-93 for 2.7.0
Skipped 3 batches of codes as reserved for possible beta testing or bug fix 2.6.x releases
2022-06-05 22:54:51 +03:00
Le Philousophe
523b226243 ANDROID: Allow user to enable touch controls 2022-01-02 17:45:32 +01:00
Le Philousophe
325c47f954 ANDROID: Use Android runtime to open touch controls image
This allows to use PNG file for sure and don't make us use TGA decoder
2022-01-02 17:45:32 +01:00
Le Philousophe
e7b6cff4dd ANDROID: The virtual controls now generate fake joystick events
This allows to use the keymapper and not have hardcoded keyboard events
2021-11-29 00:04:45 +01:00
Le Philousophe
5d56c1cdf0 ANDROID: Merge 3D graphics backend
Move each graphic part in backends/graphics and backends/graphics3d
2021-11-29 00:04:45 +01:00
Le Philousophe
706de81bb0 ANDROID: Switch to GLES2 2021-11-29 00:04:45 +01:00
Eugene Sandulenko
9b3427d7d4
DISTS: ANDROID: Update link to the Android guide 2021-10-17 20:48:02 +03:00
Eugene Sandulenko
08f29237ed
DISTS: ANDROID: Update store metadata 2021-10-09 21:48:03 +03:00
antoniou79
b3bb24e697 ANDROID: New versionCodes 73-76 for 2.6.0 2021-10-03 13:06:18 +03:00
antoniou79
9d6afc80b4 ANDROID: Repurpose VersionCodes for 2.5.1 2021-10-03 13:06:18 +03:00
antoniou79
d109df3939 ANDROID: Update versionCode and versionName for master 2021-10-01 15:46:03 +03:00
antoniou
dad5179e9d ANDROID: Fix warning unchecked conversion
In CustomKeyboardView for mKeysDownCodesSet ArraySet

Also enable the option -Xlint:unchecked (within build.gradle) to show the unchecked conversion warnings on compile
2021-08-05 13:26:31 +03:00
antoniou
250206bd00 ANDROID: Add a checkbox for a revoke SAF permissions button
Themes were updated to version SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.48"
2021-08-01 16:10:54 +03:00
Cameron Cawley
c1702a0953 ANDROID: Add an on-screen menu button 2021-06-19 14:37:35 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Cameron Cawley
cc328d9cfa ANDROID: Remove README.Android 2021-03-15 18:39:39 +02:00
Cameron Cawley
4e3c35e26b Revert "ANDROID: Set minimal SDK to 21+ (Android 5+). The app crashes at launch on Android 4"
This reverts commit ac666c2306.
2021-01-17 21:50:35 +01:00
antoniou
987becc529 ANDROID: Fix physical mouse behavior and allow multitouch hold and drag
Also added various comments to document behavior.

Minor JE_MULTI event (Fix concerned bad brackets code in the events.cpp for JE_MULTI (multiple fingers held down)
) fix and comments for mouse behavior
Allow onHover to catch the mouse events instead of OnTrackBallEvent()
Also the "system back" button is ignored for the Trackball too because we treat it as mouse in isMouse(e) check
Add multitouch handler class. Handling and early filtering of multitouch events is moved in the new class.
2021-01-10 22:10:29 +02:00
Eugene Sandulenko
ac666c2306 ANDROID: Set minimal SDK to 21+ (Android 5+). The app crashes at launch on Android 4 2021-01-08 19:31:19 +01:00
antoniou
568572e2cc ANDROID: Upgrade gradle to 4.1.1 2020-11-26 14:43:51 +02:00
antoniou
60e7ea79d2 ANDROID: Menu key on virtual keyboard is system menu now
Before it was a Media Top Menu key and did nothing
2020-11-26 14:43:50 +02:00
antoniou
0de952a59c ANDROID: Raise targetsdk to 29 but make use of requestLegacyExternalStorage
Also some fixes for deprecated warnings
2020-11-07 23:38:03 +02:00
antoniou
8fe6aae59e ANDROID: Use SAF for folder and file creation when normal way fails
Should affect only external "secondary" storage (eg. physical SD card)
2020-11-01 19:38:07 +02:00
Matthew Duggan
5135f1f4b9 ALL: Run optipng to reduce png file size 2020-11-01 21:34:03 +09:00
Eugene Sandulenko
2902e3336e DISTS: ANDROID: Sync phone screenshots with the store 2020-10-25 19:39:24 +01:00
antoniou79
64778522ce ANDROID: New screenshots from Xperiam Z5 Compact
With filtering enabled
2020-10-25 20:26:43 +02:00
antoniou79
e3f430df11 DISTS: ANDROID: Update phone screenshots with 2.2.1 ones
These are taken from my Xperia Z5 Compact (7.1.1)

Settings: Filter Graphics Disabled, Keep Aspect Ratio Enabled, Fit to Window Stretch mode
2020-10-25 17:11:44 +02:00
Eugene Sandulenko
f2a845cd6b DISTS: ANDROID: Release of 2.2.1 2020-10-25 15:32:04 +01:00
antoniou
17196e65ac ANDROID: update comment on build.gradle
For Play Store release (Oct 2020)
2020-10-25 13:57:11 +02:00
antoniou
79acea3a18 ANDROID: use gradle's auto-align and set debuggable to false for release build
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 13:42:44 +03:00
Eugene Sandulenko
468d52cbe0 ANDROID: Info for 2.2.1c (beta) release 2020-10-18 10:00:11 +02:00
antoniou
ff89ca68d6 ANDROID: Update versionCode to accomodate new beta3 (2.2.1) release 2020-10-17 22:49:42 +03:00
antoniou
7551d119e2 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 21:40:08 +03:00
antoniou
87a76f4a56 ANDROID: Fix shifted keys and key combos 2020-10-17 19:20:58 +03:00
antoniou
4a9b6d12ac 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:06:33 +03:00
antoniou
4d9ed8351b 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:21:52 +03:00
antoniou
7bd9b1ac3d ANDROID: Reduce lint warnings and offer more drawable sizes
Also slightly tweak position and size of keyboard icon
2020-10-13 14:06:07 +03:00
antoniou
18b83107db 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:32:31 +03:00
antoniou
7e174a05ef ANDROID: Restore app icon that got wrongly removed 2020-10-03 01:09:59 +03:00
antoniou
319149343f ANDROID: Reduce more Lint warnings
Unused resources, mem leak for event handler, overried View's performClick for accessibility
2020-10-02 19:50:30 +03:00
antoniou
d4aad77b11 ANDROID: Update expected versionCode for 2.3.0 2020-09-30 19:54:23 +03:00
antoniou
4ea7455e09 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:10:56 +03:00
antoniou
aa5a490bc7 ANDROID: Reduce Lint warnings 2020-09-28 17:55:04 +03:00
antoniou79
40298ce3a6 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:08:09 +03:00
antoniou79
f3e4d3986a 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-27 23:04:34 +03:00
antoniou
e08ba6ff14 ANDROID: Screenshots from 10 inch tablet for distribution 2020-09-27 17:12:25 +03:00
Eugene Sandulenko
c083069b68 DISTS: ANDROID: Updated beta changelog 2020-09-27 16:10:30 +02:00
Eugene Sandulenko
c58e3a2534 DISTS: Dumped our Android presence 2020-09-27 15:12:21 +02:00
Matthew Duggan
8fd6a1a452 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 13:14:15 +09:00