Google map live location tracking problem with two maps

you can have for example a button on the second app to start sending the location every e.g 10 seconds to the database, and have the first app displaying in the map the latest entry of the database