Apps · Own product · Android
Mera Kharcha — Expense Tracker for Urdu Typing
An expense tracker I built for my own phone. Writing down every small expense only becomes a habit if it takes a few seconds, so the app is filled in by typing a few short words: pet 2000, sab 300, kal bij 4000 becomes Petrol Rs 2,000 and Sabzi Rs 300 today and Bijli Rs 4,000 yesterday, each with its category. At 9 PM it reminds me if I recorded nothing that day.
What it does
- Quick typing: type the first letters and tap the suggested word (
pet→ Petrol). The app learns the words you use most and suggests those first. - Understands Urdu, Roman Urdu and English: amounts like dhai sau or sawa do hazar, dates like kal, parson or 3 dec, loans (Ahmed ko 3000 udhar diye), income (tankhwah 80000) and the payment method (cash, bank, JazzCash, Easypaisa, card).
- Questions: is mahine petrol kitna is answered from your own data.
- 9 PM reminder: a reminder if nothing was recorded that day, otherwise the day's total, and a warning about bills due the next day.
- Reports: needed vs wasteful spending, a category chart, daily bars, this month against last month and the top expenses. Export to Excel (CSV) or PDF.
- Budget and savings goals, with warnings at 80% and 100% of the budget.
- Loans: who owes you and whom you owe, with part payments.
- Monthly bills: rent, electricity, school fees and committee are added on their day each month.
- Day counter: Start and Reset, with a history of past runs, the best run and the average.
- Backup and restore to a file. Everything stays on the phone and works offline.
How it is built
- The text understanding is my own code with no library: it normalises Urdu letters and digits, reads numbers written as words (including dedh, dhai, sawa, sadhe and paune), finds dates, splits one line into several expenses and picks a category from keyword lists. Unit tests cover these rules.
- Kotlin and Jetpack Compose with Material 3, data in SQLite, and the reminder runs on an exact alarm that is set again after the phone restarts.
- The release APK is about 2 MB after R8 shrinking.
Technology
The source code is private. It is a personal app and is not on the Play Store.