wuwbobo2021
7cf5fc2bde
Android: use android-build
dev dependency; small fixes ( #8334 )
2025-05-05 11:47:54 +02:00
Yuri Astrakhan
4ae2627ade
A few more format arg inlining
...
Used these commands and some manual searching
```
cargo clippy --fix --all-targets --workspace --exclude gstreamer-player --exclude i-slint-backend-linuxkms --exclude uefi-demo --exclude ffmpeg -- -A clippy::all -W clippy::uninlined_format_args
cargo clippy --all-targets -- -A clippy::all -W clippy::uninlined_format_args
cargo clippy --fix -- -A clippy::all -W clippy::uninlined_format_args
```
2025-02-07 06:43:19 +01:00
Olivier Goffart
4985421d6c
Android: fix parsing of version output
...
The version of the JDK 24 constains a `-`
Fixes #4973
That issue can be closed as it works with newer android SDK
ChangeLog: fix build with newer JDK
2025-01-16 14:38:47 +01:00
wu bobo
a60c3b39b9
Fixed text input on Android, fixed for older Android versions ( #7204 )
...
* Fixes for older Android versions (6.0 to 9.0)
* Fix build script for Android (#4920 )
* Fix clipboard operations on Android
* Fix TextEdit crashing on Android (#7203 )
* Remove unsafe calls added in 'Fixes for older Android versions'
* Update a comment in androidwindowadapter.rs
Fixes #7182
2025-01-03 11:18:33 +01:00
wu bobo
a590883a48
Fixes for older Android versions (6.0 to 9.0) ( #6622 )
...
Fixes #4936
ChangeLog: Support older android
2024-10-22 22:26:35 +02:00
Olivier Goffart
8eb1543832
Android: create output directory for .class
...
According to https://github.com/slint-ui/slint/discussions/5662 , this might be necessary
2024-07-22 15:23:46 +02:00
Olivier Goffart
b9dc73bc6a
Android: Print a warning when there is an error from the build script JDK 21
...
It doesn't compile:
```
Dex conversion failed: Error in ...\out\java\dev\slint\android-activity\SlintAndroidJavaHelper$1.class:
java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
```
I don't know how to solve the error, but i can giv an informative
message telling them to downgrade Java
CC: #4973
2024-07-11 13:30:13 +02:00
Aurindam Jana
3523e86359
Simplify commercial license ( #3063 )
...
Base the commercial license on the Royalty-free license adding clauses pertaining to the fees.
2024-05-31 14:06:17 +02:00
Aurindam Jana
9a3aa265d5
Update Royalty-free license ( #5257 )
...
Add clarification that Application may not expose Slint APIs.
2024-05-31 10:53:19 +02:00
Aurindam Jana
0cfeec1a31
Update Slint Community License ( #4994 )
...
Updated the version from 1.1 to 1.2
Renamed the header to "Slint Royalty-free Desktop, Mobile, and Web Applications License"
Added definition of "Mobile Application" and grant of right
Moved "Limitations" to 3rd section and "License Conditions - Attributions" to 2nd section
Added flexibility to choose between showing "MadeWithSlint" as a dialog/splash screen or on a public webpage
Moved the para on copyright notices to section under "Limitations"
2024-04-15 15:18:55 +02:00
Olivier Goffart
8c2a798630
Android: long press select word
2024-03-26 14:50:55 +01:00
Olivier Goffart
2b7834e7c9
android: attempt to fix build if the locale is not UTF-8
...
Reported in https://fosstodon.org/@Karcsesz@equestria.social/112141146083141613
The build would fail with
```
error: unmappable character (0xC2) for encoding US-ASCII
```
Because of the © in the comment
2024-03-24 10:12:08 +01:00
Olivier Goffart
a61cf5239d
Android: support for Java8
...
Older version of java used stderr for the version.
(As seen in https://github.com/slint-ui/slint/issues/4904#issuecomment-2014798778 )
2024-03-22 14:23:10 +01:00
Olivier Goffart
fb0046c231
android: show a proper error when the version is java is too old
...
Also support Java 8 that did not support the --release argument yet.
Fix #4904
2024-03-22 09:20:13 +01:00
Simon Hausmann
858ed639ec
Fix Android build on Windows ( #4530 )
...
- Use Path/OsStr to avoid directory separator mismatches
- Call d8.bat
Fixes #4524
2024-02-02 14:56:00 +01:00
Olivier Goffart
0f14b24cc6
janitor: android: fix warnings and group args together
2024-01-30 18:08:06 +01:00
Olivier Goffart
168654fa29
Android: Implement InputConnection
...
So that we can use text prediction and other input method features
2024-01-21 09:21:41 +01:00
Olivier Goffart
daa40f43cd
Android: Use java code to show or hide the keyboard
...
instead of coding it all in JNI
This uses build.rs to compile the java code into bytecode that is then
embedded in the binary and loaded at runtime
2024-01-21 09:21:41 +01:00