Commit Graph
487 Commits
Author SHA1 Message Date
Le Philousophe d3c72b4c97 ANDROID: Update files in build directory when source changed 2020-04-07 11:36:02 +03:00
Cameron Cawley b8e1aa66e5 ANDROID: Ignore input from the volume buttons 2020-04-01 21:10:00 +01: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 bd1e2b8b87 ANDROID: Notes on superseded swap_menu_and_back_buttons conf key 2020-02-27 08:23:09 +02:00
Cameron Cawley fffb25a47a ANDROID: Add basic keymapper support (#2026)
* ANDROID: Remove hard-coded key mappings

* ANDROID: Add default key bindings
2020-02-26 10:23:47 +02:00
Thanasis Antoniou 3c9741a4c3 ANDROID: Early fix for Android 9+ crash and config/save path issues 2020-01-31 17:23:15 +02:00
Cameron Cawley 9fc24522d7 BACKENDS: Add more keycodes 2020-01-21 03:28:22 +02:00
Cameron Cawley c9824ad206 ANDROID: Improve handling of system keys
- Unrecognised system keys are treated as regular keys.
- Key down events are always sent when pressing the Menu or Back buttons.
2020-01-20 21:36:05 +00:00
Cameron Cawley 5950644054 ANDROID: Check the KeyEvent source instead of using getRmbGuard() 2020-01-20 16:19:49 +00:00
Cameron Cawley 24b9e9f390 ANDROID: Remove old and broken keymapper code
This isn't needed after commit 665e472.
2020-01-20 13:54:41 +00:00
Thanasis Antoniou 9753816315 ANDROID: Update starting version code for next release apks to 45 2020-01-19 01:51:12 +02:00
Cameron Cawley 97c3ac5c2c ANDROID: Hide the system mouse cursor on Android N 2020-01-11 18:03:02 +02:00
Thanasis Antoniou 0357293897 ANDROID: Fix crash due to adding '.' folder in SearchManager 2019-12-16 22:59:10 +02:00
Thanasis Antoniou 97b4ee93f1 ANDROID: Fix bad message id for long press back btn 2019-12-14 15:46:23 +02:00
Thanasis Antoniou d105041d80 ANDROID: Long press for back button has an alternate (menu button) function 2019-12-14 15:04:43 +02:00
Cameron Cawley d584df6a0e ANDROID: Improve keyboard support (#1857) 2019-12-14 14:48:47 +02:00
Cameron Cawley 2048c9cc78 AUDIO: Remove unused parameter from the MixerImpl constructor 2019-11-30 17:47:34 +02:00
Thanasis Antoniou b5f9d70c44 ANDROID: Add docs and port dist files to Assets 2019-11-25 13:53:48 +02:00
Thanasis Antoniou 8eb185c0d9 ANDROID: Remove duplicate header inclusion in android.h 2019-11-12 20:05:35 +02:00
Thanasis Antoniou 3e9504856f ANDROID: Override UTF-8 compliant definition of vsn_printf
This sets Android as a non-standard port in configure in order to override the definition for vsn_printf

The vsn_printf implementation is taken from https://github.com/weiss/c99-snprintf
2019-11-12 20:01:43 +02:00
Thanasis Antoniou b8c26508c9 ANDROID: Fix OSD message display crash or fail
For translated message text. Android expected UTF-8 format for the message

Also makeToast for OSD needed to be run from the main UI thread
2019-11-08 16:59:52 +02:00
Cameron Cawley 177d709909 OPENGL: Implement high DPI support on Android (#1895)
* OPENGL: Implement high DPI support on Android

* PSP2: Fix build
2019-11-01 13:39:46 +02:00
Cameron Cawley 38beac8d95 ANDROID: Simplify handling of menu/back button events 2019-10-23 07:41:31 +03:00
Cameron Cawley 94a53ccb0f ANDROID: Add swap menu and back buttons option 2019-10-23 07:41:31 +03:00
Thanasis Antoniou 4762b02a52 ANDROID: Set target SDK to 28 2019-10-21 12:39:32 +02:00
Cameron Cawley 5589c2bd60 ANDROID: Fix warning 2019-10-18 16:48:18 +01:00
Eugene Sandulenko b585b925e5 ANDROID: Use more portable directory query method 2019-10-16 00:16:25 +02:00
Thanasis Antoniou c964ed2b0b ANDROID: Fix audio cd manager crash upon exit 2019-10-11 21:49:18 +03:00
Thanasis Antoniou bd969478f8 ANDROID: Ask for external storage access onCreate()
This is a quick fix, it needs to be improved upon

With this fix on devices with API >= Marshmallow (6.0.1) the ScummVM app will ask for the permission during runtime onCreate(),
and not only when trying to browse the list of folders and files.
However, it is only a quick fix, because the original behavior will still kick in and the prompt to Quit because no SD Card was detected will be displayed anyway.
So even if the user grants access during runtime, they will still be forced to exit the app and will have to relaunch.
2019-10-08 00:02:12 +03:00
Thanasis Antoniou 113d33b280 ANDROID: Update starting version code for next release apks to 40 2019-10-06 18:00:39 +03: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
Eugene Sandulenko a69be0720b ANDROID: Bump the target SDK to match the Google Play release 2019-10-05 18:52:01 +02:00
Eugene Sandulenko 62d19782ee ANDROID: Added info about historical release version codes 2019-10-05 18:52:01 +02:00
Eugene Sandulenko 27fbde1443 ANDROID: Added more logic for scraping the storage paths 2019-09-27 00:22:20 +02:00
Eugene Sandulenko 3c92722db6 ANDROID: Request permissions to external storage 2019-09-27 00:22:20 +02:00
Eugene Sandulenko 0481669b1f ANDROID: Fix exception 2019-09-27 00:22:20 +02:00
Eugene Sandulenko f12d7160f8 ANDROID: Added list of external storages to the list of accessible directories 2019-09-27 00:22:20 +02:00
Eugene Sandulenko 580142c9ea ANDROID: Hook getAllStorageLocations() into JNI 2019-09-27 00:22:20 +02:00
Eugene Sandulenko 2b72cc0b5c ANDROID: Hook external storage class into ScummVMHelper 2019-09-27 00:22:20 +02:00
Eugene Sandulenko 4e5f26b44e ANDROID: Turn map into spliced list for easier marshalling 2019-09-27 00:22:20 +02:00
Eugene Sandulenko bc1c4b3ec1 ANDROID: Initial code for external storage enumerator 2019-09-27 00:22:20 +02:00
Thanasis Antoniou f79d5d9b6b ANDROID: Use _system->destroy() instead of just delete in JNI::Destroy() 2019-09-24 12:40:18 +03:00
Thanasis Antoniou b4b9ad1743 ANDROID: Remove duplicate _system->quit() from JNI::Destroy()
Since it is already called in Jni::main after scummvm_main() returns. The second call in destroy caused crashes on some devices.
2019-09-23 20:51:44 +03:00
Thanasis Antoniou d39eca7e39 ANDROID: Fix crash when exiting a game (Blade Runner) 2019-09-23 16:02:30 +03:00
Thanasis Antoniou e7d331fe94 ANDROID: Use FORBIDDEN_SYMBOL_EXCEPTION_getenv for browser_lastpath purposes 2019-09-15 00:46:02 +03:00
Thanasis Antoniou 1fd01c82ae ANDROID: Set default browser_lastpath to /storage
Avoid use of get_env
2019-09-15 00:28:44 +03:00
Thanasis Antoniou 8ca76c65fc ANDROID: Set default browser_lastpath 2019-09-15 00:21:40 +03:00
Cameron Cawley 7a05624e1b ANDROID: Rewrite to make use of OpenGLGraphicsManager (#1695)
* ANDROID: Rewrite to make use of OpenGLGraphicsManager

* ANDROID: Fix emulated mouse button up events
2019-09-08 19:37:48 +01: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