Other

KiloLedger: .NET expense tracker for Windows Mobile, Android and PC

Habr C# (ru) Dolfst
Other

A developer whose HP iPAQ 214 could not open a Google Sheet built KiloLedger: one pipe-delimited text format shared by .NET Compact Framework 3.5, .NET 10 Android and .NET Framework 4.8 clients.

Key points

  • Pocket Excel can't read the newer Office format, so the journal is plain UTF-8 `.dat` lines separated by `|`.
  • KiloLedger 1.39.3 ships .NET Compact Framework 3.5, .NET 10 Android and .NET Framework 4.8 clients under one version number.
  • A CI script, `build/verify_cf_apis.py`, rejects CF-incompatible calls such as `Guid.TryParse` in the Windows Mobile client.
  • Domain logic is copied into each client instead of shared, deliberately keeping the code inside the 3.5 API surface.
  • PDA and phone exchange data over local Wi-Fi on port 45816; the session is key-obfuscated, not TLS.
  • The Android client targets .NET 10, Android 6.0 minimum and ARM64, published as `com.kiloledger.app`.

Why it matters

Almost no .NET team will target Windows Mobile again, so read this as a case study in scope control rather than a template. Three clients, three runtimes, one maintainer: the hard part is adding a platform without breaking the oldest one nobody wants to touch, which is the same problem anyone with a legacy client in production already has.

If you borrow anything, ask the harder question first: what the oldest client is allowed to cost in maintenance time, and which fields the shared data format may ever carry. Answering both before writing code is what keeps a legacy client from freezing the rest of the product, and that part travels even when the runtime does not.

Real-world use

  • Logging fuel and repair costs for a single project car on a Windows Mobile PDA
  • Keeping the same expense journal open on an Android phone and a .NET Framework 4.8 desktop app
  • Moving records between devices over a local Wi-Fi hotspot with no internet access

This summary was generated by the agent from the original post on Habr C# (ru). The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message