Commit Graph
405 Commits
Author SHA1 Message Date
Patryk Mis 60209a6cbc Android: bump NDK version 2023-04-20 06:57:56 +02:00
Patryk Mis 88e2d6f0a4 Android: Fix build 2023-04-20 06:57:43 +02:00
Yury Popov 0f050397dc android: use cmake build system 2022-12-02 21:34:33 +03:00
Alexander Epaneshnikov e3c876325d android: set buffer size to 300
ref: #1554
ref for buffer size: https://github.com/nvaccess/nvda/blob/a6fb2392083b5fa1bae926102135ad452746ad3c/source/synthDrivers/_espeak.py#L338
2022-11-24 02:08:43 +03:00
Alexander Epaneshnikov 1133b29bca Android: increase target sdk to 31 2022-11-04 01:37:49 +03:00
Alexander Epaneshnikov 6f41255ed1 Android: remove hardcoded chmod
I don't understand why it was necessary.
on some devices, the binary is in a different location. if this is still needed for something, we need
to search for chmod binary dynamicly
2022-11-04 01:12:43 +03:00
Alexander Epaneshnikov 6db277c5ed Android: enable debug in native lib 2022-11-04 01:12:21 +03:00
Alexander Epaneshnikov acaf2e8f75 Android: enable debug logs in debug build type 2022-11-04 01:04:38 +03:00
Beqa Gozalishvili e3487d0cf8 Android: Fix compatibility issues with some vendors
add tolower and toupper to be processed by ucd-tools in WCTYPE_H_COMPAT_SHIM

some vendors don't provide conformance with c standard in bionic
2022-11-04 00:58:37 +04:00
Beqa Gozalishvili e0031964f9 Android: fix imports written by mistake 2022-11-02 23:09:27 +04:00
Beqa Gozalishvili d3ae703e60 Android: fix crash when opening settings on pre-7 devices 2022-11-02 14:57:52 +04:00
Beqa Gozalishvili e72e30ba52 Fix crash for some of devices. 2022-11-02 12:56:32 +04:00
Beqa Gozalishvili e36b3d9499 Add missing compatibility check for older android versions. 2022-10-28 19:27:01 +04:00
PatrickMis 8ae9b0a162 Android: update Gradle Wrapper 2022-10-18 00:00:46 +02:00
PatrickMis bbb89c0aa1 Android: bump dependencies, remove deprecations 2022-10-18 00:00:46 +02:00
Beqa Gozalishvili f7f66429a3 Add directBoot support. Fixes #917 2022-10-17 17:32:39 +04:00
Juho Hiltunen 43d7c29d52 Increase targetSdk to 30 and support signature scheme v2 (#1413)
[This removes the warning that this app may not be compatible because it
was developed for an older
android-version.](https://developer.android.com/about/versions/10/behavior-changes-all#low-target-sdk-warnings)
Also, this adds support for signature scheme v2 and v3 [which reduces
the attack surface along with other
benefits](https://source.android.com/docs/security/features/apksigning#v1).
Lastly this adds 64-bit support for the APK, so this app can be
installed on 64-bit-only hardware.
2022-10-11 06:37:17 +03:00
Juho Hiltunen 4a2890250b code cleanup: new file langopts.c for handling language options.
The switch case in LoadVoice() currently mixes voice and language
options. This change will start separating them into two functions.

CheckTranslator will be moved to langopts.c. In the future there should
be no need to use it in voices.c. There will be other temporary
solutions also.
2022-10-09 16:38:52 +03:00
fireneat 0b39769fc9 Increase targetSdk to 30 and use apksigner to support signature scheme v2. This also adds 64-bit support for the APK. 2022-10-07 21:18:14 +02:00
Alexander Epaneshnikov e65e597bf6 Android: explicitly set ndk version 2022-09-08 12:59:49 +03:00
Alexander Epaneshnikov 440fc08a0d Android: rase minimal supported sdk
newer ndk supports kitkat+ only
2022-09-08 12:54:33 +03:00
Alexander Epaneshnikov 7a33a70755 Android: update gradle and AGP 2022-09-08 12:54:32 +03:00
Juho Hiltunen c4d8976fbc code cleanup: Add new source file common.h for misc functions. 2022-09-03 21:19:37 +03:00
Juho Hiltunen fb06936c51 code cleanup: start moving translateWord3() to a new source file.
The file will be organized to have one callable function only. This
should make code structure simpler.

Existing code will be changed to use function parameters instead of
global variables.

Possible problems include too much dependencies with numbers.c.
2022-09-03 11:41:30 +03:00
Alexander Epaneshnikov e65278d788 Android: bump versionCode
we should do that on every release.

Issue #1185
2022-06-19 20:18:08 +03:00
Alexander Epaneshnikov 042ac06b9e android: use gradle to build data archive
this fixes #1161 separates the android application build system from automake
and simplifies building an application on windows.
2022-04-15 19:07:16 +03:00
Alexander Epaneshnikov 95678616f7 android: integrate ndk-build step into main gradle pipeline
this greatly simplifies the assembly of the android application. moreover, ndk
will be downloaded automatically via sdk-manager.
2022-04-15 19:06:53 +03:00
Alexander Epaneshnikov 41c5adc837 android: cleanup project 2022-04-15 19:04:58 +03:00
Alexander Epaneshnikov 12754cc7bc android: add gradle wrapper
this simplifies CI/CD and building android application on windows.
2022-04-15 19:04:42 +03:00
Alexander Epaneshnikov 77b66d175c android: update AGP 2022-04-15 19:04:13 +03:00
Valdis Vitolins 9fc8aa4a54 eSpeak NG 1.52-dev 2022-04-02 22:35:41 +03:00
Valdis Vitolins 2e9a5fccbb Release 1.51 2022-04-02 22:24:41 +03:00
Alexander Epaneshnikov c352597757 android: limit max speech rate to 449 WPM
this is the maximum espeak-ng's speech rate without using libsonic
2022-02-20 16:56:23 +03:00
heidari78 4fce71a879 android version: updated voice variant list and Persian translation.
1: Added missing voice variants in the NVDA category including Iven 4, Steph, Steph 2 and Steph 3.
2: Completed the Persian translation.
2021-07-25 12:30:15 +04:30
Valdis Vitolins c8ab966138 Merge pull request #958 2021-07-09 12:41:28 +03:00
Peter Vágner 8003c0e478 Android: add all missing voice variants to the variant selection 2021-05-30 22:29:42 +02:00
Peter Vágner 9b271602a8 Android: Add speechplayer to ndk-build configuration 2021-05-30 22:19:16 +02:00
Juho Hiltunen 6e197d967e code cleanup: move soundicon logic to a new file
Soundicons are used for external audio with SSML <audio> tag and for
replacing punctuation names with sound files in LoadConfig().

Currently there's a bug wih soundicon slots: if both LoadConfig and
<audio> are used, the punctuation reserves all slots and no sound from
<audio> is played.
2021-03-21 18:53:05 +02:00
ArenaL5 23a3d12195 Update version and version code
Version must be changed in:
- configure.ac
- src/windows/config.h
- android/jni/include/config.h
- android/build.gradle
- android/AndroidManifest.xml
2020-09-18 20:48:57 +02:00
Valdis Vitolins 85a9e55340 Update version according to configure.ac, src/windows/config.h and android/jni/include/config.h files 2020-08-21 12:43:18 +03:00
Alexander Epaneshnikov 5e8e6b1d46 update gradle plugin 2020-05-22 21:59:29 +03:00
Valdis Vitolins a99937f6c4 Remove Byte Order Marks from source files 2019-12-16 22:38:24 +02:00
Reece H. Dunn 1b9daee81c Remove the executable bit from other non-executable files. 2019-12-03 19:31:56 +00:00
Valdis Vitolins b47a75f4e4 eSpeak NG 1.51-dev 2019-11-30 20:49:12 +02:00
Valdis Vitolins b702b03996 eSpeak NG 1.50 2019-11-29 18:50:54 +02:00
guiador 80cb2ce509 Update spanish file
Added some translations.
2019-08-27 14:40:07 -05:00
Valdis Vitolins 5821e418c1 android: update configuration files:
- remove unsupported hardware platforms
- udpate dependencies and versions of tools
2018-12-04 16:45:57 +02:00
Reece H. Dunn a3c1a00d45 android: fix downloading the android gradle plugin version 2.3.3. 2018-03-15 07:29:22 +00:00
Reece H. Dunn a0d8e8df78 android: add the new ssml.c source file 2018-03-15 07:28:08 +00:00
Reece H. Dunn 3a2663030b Update the version to 1.49.3-dev. 2017-09-24 10:46:15 +01:00