Skip to content
All posts

#sqlite

9 posts tagged with sqlite.

MFKAPPS 5 min read

Room TypeConverters in 2026: storing enums, dates, and lists without corrupting your schema

A practical guide to Room TypeConverters on Android — enums, Instant/LocalDate, and lists — plus the mistakes that turn a converter into a silent data-corruption bug.

#android #engineering #room
MFKAPPS 4 min read

Room database indices in 2026: finding the query that's actually slow and fixing it

A practical guide to indexing a Room/SQLite database on Android — reading EXPLAIN QUERY PLAN, adding @Index without guessing, and the mistakes that silently defeat one.

#android #engineering #room
MFKAPPS 4 min read

Room's @Relation: querying one-to-many data on Android without N+1 queries

A practical guide to Room's @Relation annotation — modeling one-to-many data like categories and entries without N+1 queries or manual joins.

#android #engineering #room
MFKAPPS 5 min read

Full-text search in Room: adding instant search to a local-first Android app in 2026

A practical guide to Room's FTS4 support on Android — building a virtual search table, keeping it in sync with triggers, and why FTS5 needs a manual migration.

#android #engineering #room
MFKAPPS 5 min read

Encrypting a Room database in 2026: SQLCipher, the Keystore, and migrating without losing data

A practical guide to encrypting a Room/SQLite database at rest on Android with SQLCipher — key management via the Keystore, the one-time migration, and the real performance cost.

#android #engineering #privacy
MFKAPPS 4 min read

Room database migrations in 2026: shipping schema changes without losing a row

A practical guide to Room database migrations on Android — AutoMigration, hand-written Migration objects, and how to test a migration before your users find the bug.

#android #engineering #room
MFKAPPS 4 min read

Building OldSchool's adherence calendar: turning dose taps into a day you can trust

A monthly adherence calendar looks like a single colored dot per day. Here's the event model, the day-status rules, and the on-time math behind it, on-device.

#android #engineering #room
MFKAPPS 5 min read

Building Granyn: a budget tracker with no bank login, in three tables

How Granyn tracks spending across currencies and catches recurring bills without linking a single bank account — the Room schema and the trade-offs behind it.

#android #engineering #privacy
MFKAPPS 7 min read

Local-first Android in 2026: SQLite, Room, and keeping user data on the device

A 2026 guide to building local-first Android apps with Room and SQLite — schema design, migrations, WAL, exports, and when (and when not) to add sync.

#android #engineering #privacy