RETURN TO ALL PROJECTS

Pīkau

Personal Project | Native Android

Pīkau is a native Android app for planning tramping trips and managing gear. The name is te reo Māori for a pack carried on the back. I am building it as a production-shaped codebase: modular Gradle, Jetpack Compose, Hilt, Room, and Navigation 3. The foundations for the four main destinations (Home, Gear, Trips, and Me) have been built, with detail screens, creation flows, and settings sub-screens next in line.

01/ The Challenge

Trip planning on the trail still splits across paper, notes apps, and tools that need a signal. I wanted a single offline-first companion that matches how I actually pack and walk in Aotearoa, built to the same standard as a commercial Android app: isolated features, a real persistence layer, shared UI, and tests, rather than a single-module prototype.

02/ Architecture

Features depend on repositories, not on each other. The app module owns navigation. Shared Android setup lives in convention plugins so each module stays small.

UI

app

Navigation 3 · Hilt

feature/home

feature/trips

feature/gear

feature/profile

core/ui

Compose

Data

core/data

Repositories

core/model

core/database

Room

Test

core/testing

UI sits above data. Features talk to repositories, not each other.

Modular Gradle

The app is split into Gradle modules so home, trips, gear, and profile stay independent. The app module is only the shell: it applies Hilt and owns navigation. Each feature owns its screens. Shared UI, repositories, Room, models, and test helpers live in core.

Schema before screens

A trip has a name, location, dates, categories, and difficulty. Gear has a name, category, weight in grams, and suggested trip types. Categories are seeded on first launch. Packing list items, food items, and trip notes are in the same schema.

Navigation 3

Four tabs sit in a pager, and each tab preserves its own back stack. Tapping a trip or gear item is wired to hide the bottom bar and push a full-screen detail route, ready for the detail destinations currently in design.

Shared Compose UI

Theme, type, buttons, chips, inputs, list rows, and loading and error states live in core/ui. Screens collect a UiState from Hilt ViewModels: loading, content, or a full-screen error with retry.

03/ Design & Implementation

A four-tab companion for the pack: home at a glance, a gear library, trip lists, and a profile, with packing, food, and notes kept on device.

Colour

A fixed Compose palette of forest green, olive, and light sage. Dynamic Material colour is disabled so the outdoor brand palette stays consistent across light and dark mode.

  • Forest green

    #2C5E05

  • Olive green

    #A7AA27

  • Light green

    #E2E3C6

Type

Afacad Flux sets both headlines and body copy, paired with the platform default typeface for compact labels.

  • Pīkau

    Afacad Flux / headline

  • Pack light. Walk far.

    Afacad Flux / body

Home

Surfaces your next upcoming trip front and centre, paired with a quick to-do checklist for final packing tasks before you head out.

Upcoming trip and a short checklist before leaving

Gear library

Search and filter equipment by category. Each item stores its weight in grams so a trip pack can be totalled straight from your library.

Gear library with search, category chips, and item weights

Trip detail

Brings location, dates, difficulty, packing progress, food, trail notes, and a local weather forecast together in one screen for the walk ahead.

Offline first

Trips, gear, packing lists, food, and notes are stored locally on the device so the companion works reliably without a mobile signal.

  • Trips
  • Gear
  • Packing
  • Food
  • Notes

04/ Quality

Rather than rushing out screens, I prioritized a maintainable Android architecture with solid test coverage across the core layers already in place.

Tests on the logic

ViewModels are tested with Turbine. Room repositories have their own tests, with fixtures for entities and fakes. Compose UI tests cover the shared button, chip, and tabs components.

CI on main

GitHub Actions runs ./gradlew build and ./gradlew test on Ubuntu with JDK 17 for every push and pull request to main.

Screenshot tests, local only

Roborazzi goldens live under core/ui. They are not compared on CI because they were recorded on macOS and Ubuntu renders edges differently. Record and verify stay on one machine.

05/ Next steps

With the four core browse tabs and local database schema in place, the next milestones focus on detail views and data entry:

Trip and gear detail

Build out the full-screen detail destinations triggered from the Trips and Gear lists, bringing together trip overviews, packing checklists, food plans, and trail notes.

Adding a trip or gear item

Connect creation and editing forms directly to the existing Room schema so users can add new trips, log gear weights, and build packing lists on device.

Profile settings

Implement the sub-screens under the Me tab for notification preferences, emergency contact details, privacy controls, and app support.

VIEW ALL PROJECTS