lundi 25 janvier 2016

Script (SQLite or other) to extract current destination from Android GMaps

Background: I'm working on a Tasker script (sqlite or other) to extract the current destination from Google Maps navigation and send it to another device.

Request: 1. Could someone please direct me to the appropriate Android GMaps database that contains the current destination address/coordinates when navigating using GMaps.

2. Could you please suggest a script to extract the current destination into Tasker.

Attempt So far: I've tried a suggestion (2012 forum post) to run the following script:

sqlite3 /data/data/http://ift.tt/1ngfTma "select dest_address from destination_history order by time desc limit 1;"

Unfortunately this script seems dated as I can't find the database da_destination_history in the files of the latest iteration of Gmaps.

Out of the GMaps databases I have found, gmm_storage.db does seem to contain the current destination address, but I can't find a way of identifying it as such within the file, thereby allowing operations to recognise and extract the destination address.

Thanks

Aucun commentaire:

Enregistrer un commentaire