Calendar Lite 1.6: bundled TLS 1.2, renamed from GingerCal, new icons, English months #1

Merged
xocko merged 8 commits from bundled-tls into main 2026-10-19 17:11:39 +00:00
Showing only changes of commit 478fc60527 - Show all commits
+7 -5
View File
@@ -1,7 +1,7 @@
# Calendar Lite — Nextcloud CalDAV for Android 2.3 (Galaxy Mini) # Calendar Lite — Nextcloud CalDAV for Android 2.3 (Galaxy Mini)
A small native calendar client for Gingerbread (API 9/10). Built for a Samsung Galaxy Mini A small native calendar client for Gingerbread (API 9/10). Built for a Samsung Galaxy Mini
(GT-S5570, 240×320, Android 2.3.5) talking to Nextcloud, reached through Pangolin. (GT-S5570, 240×320, Android 2.3.5) talking to Nextcloud at its normal `https://` address.
**Since 1.4 it brings its own TLS 1.2** (Bouncy Castle, the same client as Plexamp Lite, with Mozilla's **Since 1.4 it brings its own TLS 1.2** (Bouncy Castle, the same client as Plexamp Lite, with Mozilla's
root certificates and keep-alive connections), like the iPod version does with BearSSL. Put the root certificates and keep-alive connections), like the iPod version does with BearSSL. Put the
@@ -139,14 +139,16 @@ you should turn `proxy_ssl_verify` on.
Menu key: View (Month/Agenda), New event, Sync, Today, Calendars, Settings. Tap an event for Menu key: View (Month/Agenda), New event, Sync, Today, Calendars, Settings. Tap an event for
details, Edit and Delete. details, Edit and Delete.
If installation fails, check the file arrived whole (53 KB; some browsers save a truncated or If installation fails, check the file arrived whole (about 1 MB; some browsers save a truncated or
renamed `.apk.zip`) and that there are a few MB free on the internal storage. On a PC with renamed `.apk.zip`) and that there are a few MB free on the internal storage. On a PC with
`adb`, `adb install CalendarLite.apk` prints the exact reason (`INSTALL_FAILED_...`). `adb`, `adb install CalendarLite.apk` prints the exact reason (`INSTALL_FAILED_...`).
## Building ## Building
Needs JDK 11+, Python 3, `d8` and `apksigner.jar` (Android SDK build-tools), and Needs JDK 11+, Python 3, `d8` and `apksigner.jar` (Android SDK build-tools),
`apktool.jar` (2.9+, which bundles Google's `aapt` and smali). No Gradle. `apktool.jar` (2.9+, which bundles Google's `aapt` and smali), and the Bouncy Castle sources renamed
to `com.minamp.bc` that Plexamp Lite's `tools/setup_toolchain.sh` prepares (`BC_SRC`, default
`~/android-toolchain/bcsrc`). No Gradle.
```sh ```sh
D8=d8 APKTOOL=~/apktool.jar APKSIGNER=$SDK/build-tools/34.0.0/lib/apksigner.jar ./build.sh D8=d8 APKTOOL=~/apktool.jar APKSIGNER=$SDK/build-tools/34.0.0/lib/apksigner.jar ./build.sh
@@ -165,7 +167,7 @@ over the existing app.
Tests (desktop JVM, need a CalDAV server such as Radicale on :5232 with user `xose`/`secret`): Tests (desktop JVM, need a CalDAV server such as Radicale on :5232 with user `xose`/`secret`):
```sh ```sh
javac -d out src/org/gingercal/*.java test/org/gingercal/*.java javac -d out src/org/gingercal/*.java $(ls test/org/gingercal/*.java | grep -v NetTest)
java -cp out org.gingercal.CoreTest # discovery, sync, recurrence, create/edit/delete java -cp out org.gingercal.CoreTest # discovery, sync, recurrence, create/edit/delete
java -cp out org.gingercal.RedirectTest # redirect handling (no server needed) java -cp out org.gingercal.RedirectTest # redirect handling (no server needed)
# the bundled TLS transport (needs the android.jar and Bouncy Castle sources to compile): # the bundled TLS transport (needs the android.jar and Bouncy Castle sources to compile):