Thant Thu Aung
All work

Android app · Solo academic project · 2025, redesigned 2026

LearnLog: where does study time actually go?

A solo Android app that brings tasks, a study planner, a focus timer, notes and insights together, so students can see where their study time really goes.

My role
Sole developer: design, build and testing
Team
Individual
When
Oct – Nov 2025; redesigned Oct 2026 (31 commits)
Stack
Kotlin · MVVM · Hilt · Room · Flow · WorkManager
LearnLog Tasks screen: a summary card showing 45 minutes focused today, a search bar and filters, and upcoming task cards with due date, subject, duration and a button to start focusing.
LearnLog Focus screen: a 25-minute session linked to the Complete Math Assignment task, counting down at 24:47 with Pause, minus one and plus five minute controls, and a daily goal of 45 minutes out of 2 hours.
LearnLog Insights screen on the Month range: 4 hours 30 minutes of focus over 4 sessions, a 3-day streak, 1 of 4 tasks due this month completed, and a time-by-subject ring split between Mathematics, Physics and History.
Tasks, a running focus session and a month of Insights from the October 2026 redesign, captured from a debug build on an Android emulator with demo data.

What it is

LearnLog is a native Android app for managing study time. It has five areas (Tasks, Planner, Focus, Insights and Notes) plus settings for theme, timer presets, alerts, and backup and restore. Insights also opens an Analytics screen with 7, 30 and 90-day trends. I built it in late 2025 and redesigned it in October 2026.

Planning and tracking usually live apart

A to-do list in one app and a timer in another makes simple questions hard to answer: Did I study what I planned? Which subject took most of my week? LearnLog is for university students juggling several subjects and deadlines, and it connects planning, doing and reflecting in one place.

Scope

Solo project. I designed the screens, wrote the app and tested it. All 31 commits in the repository are mine: 28 between October and November 2025, when I built it, and 3 in October 2026, when I redesigned it.

Architecture decisions

  1. Offline-first with Room

    Tasks, focus sessions, subjects and notes live in a local database, so everything works without a connection. Firebase is used only for sign-in, and each account gets its own database file, so two people sharing a phone never see each other’s data.

  2. One timer for the whole app

    In the redesign I moved the timer out of its screen into one app-wide timer backed by a foreground service. It keeps running across tab switches and a locked phone, with Pause and Finish in the notification. It counts focused time without pauses and saves a session only when it finishes, so an abandoned timer never inflates Insights.

  3. The planner is a view of tasks

    The first version kept planned study sessions in a separate list held in memory. Now the planner shows tasks on their due dates and adds new tasks straight onto a day, so planned minutes come from task durations and there is nothing to keep in sync.

  4. MVVM with Hilt and Kotlin Flow

    Screens observe the database through view models, so Insights updates by itself when a session ends or a task is completed.

  5. Data you can take with you

    A JSON backup that restores tasks, sessions and notes, or a zip of CSV files (tasks, sessions and notes) for spreadsheets.

Building it, and the bugs worth describing

The screens at the top of this page show the core loop: pick a task, start a focus session from it, and see the time land in Insights. Tasks and the planner write to the task table, the focus timer writes to the session log, and Insights combines them:

  • Focus writes to SessionLog table which feeds Focus time, streak, time by subject, actual minutes
  • Tasks writes to Task table which feeds Completion rate, planned minutes, most-focused tasks
  • Planner writes to Task table which feeds Planned minutes by day, from each task’s due date and duration

InsightsRepository combines both tables through Kotlin Flow. Analytics reads the same completed sessions, so the two screens always agree.

How each screen feeds Insights in the current version.

What works today

  • Five working modules plus Analytics. Tasks, focus sessions, subjects and notes are stored in a local Room database, one per account, and work offline.
  • One app-wide focus timer with presets, a daily goal and notification controls. It keeps running across tab switches and a locked phone, and records only focused time.
  • Insights for focus time, sessions, streak, time by subject, task completion, planned vs actual and most-focused tasks, over today, this week, this month or a custom range.
  • JSON backup and restore, CSV export, light and dark themes, and email sign-in through Firebase Authentication.

What’s next

  • Tests first where the bugs were. The project still has only the default example tests. Most of the bugs I fixed in the redesign were calculation bugs (streaks, completion, double counting), so unit tests for Insights and Analytics come first.
  • Decide what the roll-ups are for. A nightly WorkManager job still pre-computes per-day totals, but no screen reads them since I moved Analytics onto raw sessions to stop the double counting. For long ranges, the screens should read past days from the roll-ups and only today from raw sessions; otherwise the job should go.
  • Share the aggregation code. Insights and Analytics group sessions by subject with the same rules, written twice. One shared function would keep them from drifting apart.
  • One UI toolkit. The screens use XML layouts with Fragments, apart from one Jetpack Compose card in Insights. Moving screens to Compose would simplify the UI layer.