I'd like Tasker to get the current destination during Google Maps Navigation - Any ideas?

477 views
Skip to first unread message

Rob

unread,
Jan 30, 2012, 9:15:31 AM1/30/12
to Tasker
I'd like to use Tasker to get information (such as the weather) about
my current destination when using the Navigation feature of Google
Maps. However I can't see an obvious way of getting the destination.

Does anyone have any idea how I might be able to get this? For example
is there an API I can check somewhere to get my last entered Google
Maps location, or a log file somewhere on the phone?

This is the first 'it would be great of my phone did this' idea I've
had that I haven't been able to accomplish through tasker. Thought I'd
check on here first before giving up!
Thanks
Rob

BossMan

unread,
Feb 2, 2012, 7:33:30 AM2/2/12
to tas...@googlegroups.com
If you're not afraid of shell actions and have rooted device, try messing around with this:

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

BR,
A.

TW

unread,
Feb 2, 2012, 2:53:00 PM2/2/12
to tas...@googlegroups.com
nice idea Adam and great info!

Rob

unread,
Feb 14, 2012, 5:14:57 AM2/14/12
to Tasker
Thanks for this. I'm not rooted at the moment but maybe I should be!

Rob

unread,
Feb 14, 2012, 5:19:12 AM2/14/12
to Tasker
I ALMOST had a simple solution for this.
I noticed navigation creates a notification containing the destination
in the title! However the notification title variable (%NTITLE) wasn't
set (or was set to '%NTITLE'). So close!

Does anyone know why this doesn't get populated sometimes? I've
noticed this before when trying to get tasker to read notifications
from an email app, where sometimes it can get the notification title
and sometimes it can't. I'm pretty sure it's related to the length of
the notification. Shorter notifications get put into %NTITLE, longer
ones don't.

Rob

On Jan 30, 2:15 pm, Rob <rsew...@yahoo.co.uk> wrote:
> I'd like to use Tasker to get information (such as the weather) about
> my current destination when using theNavigationfeature of Google
Reply all
Reply to author
Forward
0 new messages