| Path | Role |
|---|---|
packaging/android/java/org/pjsip/*.java |
PJSIP camera JNI classes (PjCamera2, etc.) |
src-tauri/android/PaleJni.kt |
Early JNI_OnLoad companion + prepare() |
src-tauri/android/PaleVideoOverlay.kt |
SurfaceView overlays for remote/local video |
src-tauri/crates/pale-core/src/android_jni.rs |
Rust JNI_OnLoad, ClassLoader cache, pale_android_find_class |
CI (.github/workflows/android.yml) copies Java/Kotlin into src-tauri/gen/android after tauri android init and hooks PaleJni.prepare(this) into MainActivity.onCreate.
Native side re-enables PJMEDIA_VIDEO_DEV_HAS_ANDROID + OpenGL renderer, disables PJSIP's own JNI_OnLoad (Pale owns it), and patches android_dev.c so FindClass uses the app ClassLoader from the PJSIP worker thread.
PaleJni.prepareregistersCameraManagerand attaches overlays.- Video call / answer uses
vid_cnt = 1. - On media active,
android_video::bind_call_video:- shows remote + local SurfaceViews
pjsua_vid_win_set_winbinds remote stream to remote Surface (ANativeWindow)pjsua_vid_preview_startdraws local capture onto the PIP Surface
pale-sideload.jks is a public sideload signing key for CI and website
APKs that users install outside Google Play.
| Property | Value |
|---|---|
| File | packaging/android/pale-sideload.jks |
| Alias | pale |
| Store / key password | palesideload |
| Purpose | Sideload / lab only |
Do not use this keystore for Google Play or MDM production fleets. For
Play Store or enterprise MDM, generate a private keystore, store it in CI
secrets (PALE_ANDROID_KEYSTORE base64 + passwords), and never commit it.
./scripts/sign-android-apk.sh path/to/app-release-unsigned.apk dist/Pale_android-signed.apkCI runs the same script after tauri android build so uploaded artifacts
are installable on modern Android (signature schemes v2/v3).
- Download the signed APK (not
*-unsigned.apk). - Enable Install unknown apps for your browser or Files app.
- If an older Pale build used a different certificate, uninstall the old app first.
- On some OEM devices (Honor, Xiaomi, etc.) also disable extra “pure mode” / “external sources” restrictions for the installer.
- Grant Camera and Microphone when placing or answering a video call.
| Channel | URL |
|---|---|
| Stable sideload | https://drcpbx.com/downloads/Pale.apk |
| Versioned | https://drcpbx.com/downloads/current/Pale_0.1.6_android.apk |
| Checksums | https://drcpbx.com/downloads/pale-android-SHA256SUMS.txt |
| Release (video path) | https://github.com/loreste/palephone/releases/tag/android-video-full-0.1.6 |
Latest video-path release tag: android-video-full-0.1.6 (commit series through
655cb0d). Emulator API 34 validated for launch + camera; physical two-party
video still needs human confirmation (GitHub issue #1).