I am building a live tracking module for odoo.
So the question in that live location coming from Android Device to odoo in a given interval of time through API, and we save this location data to the database, now my question is that how can I access data from the database when its inserted to the database( means autorefresh type).[when data comes to the database it automatically added to map.]
Because we have to show real-time location data on the map.
How to get the notification from the database when any record added to any specific table?
As you can imagine for showing the live location of the vehicle we have to get the data from the database when it comes.
bus.bus or long-polling can be used but I don't know how?
if you have any other idea then please explain to me.
Thanks