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.



01 Overview
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.
02 Problem & users
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.
03 My role
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.
04 Approach
Architecture decisions
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.
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.
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.
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.
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.
05 Implementation
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.
06 Results
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.
07 Limitations & learning
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.
08 Links