I'm going back over question and comments from since I uploaded the aia file. Please bear with me...
Ghica:
The saved information is not in the tinydb until a trip is ran, that's why it isn't in the database furthermore, as the documentation for the location sensor, the gps information is not gathered except for the apk running on a physical device.
The tags are to be saved as milliseconds which are unique identifiers, and converted to MM DD, YYYY hh:mm on each listview element so that it is readable friendly as well as the total fare and running total for the day from 00:01 to 00:00 to be shown on each "listview" element if possible.
I'm using the Haversine formula for calculating distance from latitude and longitude that takes into account of the circumference of earth. Even though the formula isn't exact for long distances, that's why it is calculated every time the values is updated, to make up for the margin in error.
Lastly, the ONLY screen I was having problems with was the statistics screen with the ListView. The Meter screen works flawless. I don't have the "Pause" button working but besides that, the intended use of that screen works.
It wasn't the fact that the data wasn't there in the database, it was the fact that when I "set ListView.Elements to" and using a get tag from the database, it lists that weird number for/each item in list instead of the actual numbers from the index tag where the data is saved as a list under that tag.
Abraham:
The data is all saved as list items in the database. The ListView is to call the data for each Index item when selected and display the complements or data from a saved trip.
The tariff data for companies differ. Thus the need to be able to edit tariffs and extras accordingly. They usually have the following: Base Fare (ex. 2.50), Price per mile (ex. 2.00), Price per minute (ex. .35 or $21 p/hr), wait time is sometimes different than price p/min, when waiting, and some companies charge both minutes and miles consecutively at the same time.
----
Hope I was able to explain the calculations and answered any questions.