Expand description
Shared Android JVM attachment, class loading, and checked Java bindings. Hosts initialize this runtime before calling services. Widget rendering belongs to day-toolkit-material.
Modules§
- envelope
- The part↔Java payload convention (docs/extending.md, “The Android bridging contract”):
One
byte[]crosses JNI per call, laid out as[0..4)statusi32BE ·[4..8)meta-block lengthi32BE · meta"k\nv\n…"UTF-8 · payload bytes. A negative status is a transport-error sentinel and the meta block carries the error message instead of pairs (each part defines its own sentinel values; day-part-http uses −1 timeout … −6 bad-url). Pure bytes, no JNI, so this compiles and tests on every host;DayEnvelope.javais the Java twin and the two encode identically.