I would like to update a MySQL database with the latitude and longitude values of the mobile when user clicks on a button. The purpose is to register the date/time he arrived at his programmed destination for which Latitude and Longitude would have previously already been informed.
To finish up, the diference in meters between programmed destination and current location should be also saved on the database.
I would appreciatte if the necessary code could be presented for the solution.
Thanks in advance.