我正在使用Tasker脚本(sqlite或其他)从Google Maps导航中提取当前目标并将其发送到另一台设备 .

  • 当有人使用GMaps导航时,有人可以指示我使用包含当前目的地地址/坐标的相应Android GMaps数据库吗?

  • 你能否建议一个脚本将当前目的地提取到Tasker中 .

我试过一个建议(2012年论坛帖子)来运行以下脚本:

sqlite3 /data/data/com.google.android.apps.maps/databases/da_destination_history  "select dest_address from destination_history order by time desc limit 1;"

不幸的是这个脚本似乎过时了,因为我在最新的Gmaps迭代文件中找不到数据库da_destination_history .

在我发现的GMaps数据库中,gmm_storage.db似乎确实包含当前目标地址,但我找不到在文件中识别它的方法,从而允许操作识别和提取目标地址 .