Commit graph

8 commits

Author SHA1 Message Date
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