This repository contains:
- The Python (Django) code for the backend on kilometerkoll.se
- The Java code for the Kilometerkoll android app.
Feel free to poke around and see how it works. There are no UX/UI support files, however, that means no:
- Icons and images
- Javascript
- CSS
- Android resource files (xml)
See how the code desperately tries to crop the photos you snap, to get Tesseract to look at only the odometer and not the garbage around it: OCRengine.java
See here how the app handles your credentials: TeslaAPI.java and SettingsActivity.java (It deletes the password after creating an Access token)