The reason I ended up here is that I used to send my rides to myself via whatsapp and then later processed them in excel.
I thought that should be easier and maybe it is possible to write an app for that myself.
What I am trying to accomplish is that I open an app, then see four text input fields, with current location, current mileage, destination and reason. And then a save button that writes the text in the fields to a cvs file or a local database which I can later export and import into the target Excel. That target excel has 5 columns: time of day, current location, current mileage, destination and reason.
Now I have been doing some work, but am now stumbling and wondering if I am on the right track. Ideally I would like to have the last 4 lines written away also in the screen.in some kind of log screen or something.
Is this doable with this platform and if so, what would be the right way in terms of writing away to a csv file, TinyDB or something else?
Right way? There are several acceptable ways depending on where time of day, current location, current mileage, destination and reason come from. If they are all items the user inputs, it would be easy. I would use a List of Lists stored with a date Tag.
To store only on your phone, a TinyDB is a good choice. You can also store to an online database like a GoogleSheet, FirebaseDB, CloudDB etc at increasing coding complexity.