Tasker Autovoice "Navigate to" address help!

623 views
Skip to first unread message

Daniel Ahn

unread,
Nov 4, 2014, 4:45:31 PM11/4/14
to tas...@googlegroups.com
Hi, I'm still somewhat new to tasker and autovoice. The result I want is that when I say, "ok google, navigate to roberts" to automatically open up google maps with robert's address in place and begin navigating. I would like to set this up for various other houses as well. Anyone know how to accomplish this?

Marta Hintz

unread,
Nov 4, 2014, 10:36:53 PM11/4/14
to tas...@googlegroups.com
On the g+ forum I saw saw this done. Search here and there, you should find it.

Jeremy Harris

unread,
Nov 5, 2014, 4:28:07 PM11/5/14
to tas...@googlegroups.com
Here's how I do it:

Profile: Voice - Navigate To (62)
State: AutoVoice Recognized [ Configuration:Event Behaviour: true
Command: "navigate to" ]
Enter: Voice Navigation (63)
A1: Variable Set [ Name:%Home To:home Do Maths:Off Append:Off ]
A2: Variable Set [ Name:%Work To:work Do Maths:Off Append:Off ]
A3: Variable Set [ Name:%Parents To:mum and dad Do Maths:Off Append:Off ]
A4: Variable Set [ Name:%Dustin To:dustin Do Maths:Off Append:Off ]
A5: Variable Set [ Name:%VanessasParents To:Vanessa's parents Do Maths:Off Append:Off ]
A6: If [ %avcommnofilter ~ %Home ]
A7: Variable Set [ Name:%Destination To:201 South Anystreet St Anytown PA 18049 Do Maths:Off Append:Off ]
A8: Else If [ %avcommnofilter ~ %Parents ]
A9: Variable Set [ Name:%Destination To:339 Anystreet Rd Anytown PA 19504 Do Maths:Off Append:Off ]
A10: Else If [ %avcommnofilter ~ %Dustin ]
A11: Variable Set [ Name:%Destination To:2456 Anystreet Ln Anytown PA 18104 Do Maths:Off Append:Off ]
A12: Else If [ %avcommnofilter ~ %VanessasParents ]
A13: Variable Set [ Name:%Destination To:12 Anystreet Rd Any PA Do Maths:Off Append:Off ]
A14: Else If [ %avcommnofilter ~ %Work ]
A15: Variable Set [ Name:%Destination To:795 Anystreet Rd Anytown PA 18109 Do Maths:Off Append:Off ]
A16: Else
A17: Variable Set [ Name:%Destination To:%avcommnofilter Do Maths:Off Append:Off ]
A18: End If
A19: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A20: Send Intent [ Action:android.intent.action.VIEW Cat:None Mime Type: Data:google.navigation:q=%Destination Extra: Extra: Package: Class: Target:Activity Continue Task After Error:On ]

This will navigate directly to my home if %avcommnofilter is "home" and same for my work, friend's, parents, etc. Or I can just say a specific address...or something google-able like "Walmart" "McDonald's" etc...

This reminds me that I want to include the use of %LOC in my query... I'll get to that soon.

Scott

unread,
Nov 5, 2014, 4:42:27 PM11/5/14
to tas...@googlegroups.com
I do it similarly to Jeremy, but I have some profiles, scenes and tasks that allow me to create and delete different location name and GPS coordinate pairs.  So I can be at a place and say to my phone "Save location as Bob's house" and it will find my location and append it to a text file with the line:

Bob's house, <GPS coordinates>  

Then when I say to navigate to Bob's house, it parses the text file, finds "Bob's house" and then navigates to the GPS coordinates from the same line.  I can also do the same thing from a scene that has a list of all my saved locations.

I probably could to a reverse geocode on the GPS coordinates and save them all as addresses but I don't really use any of this functionality, so I haven't bothered to really optimize it.

Daniel Ahn

unread,
Nov 10, 2014, 2:15:20 PM11/10/14
to tas...@googlegroups.com
Ok thanks guys

Jeremy Harris

unread,
Nov 10, 2014, 2:21:30 PM11/10/14
to tas...@googlegroups.com
So I can be at a place and say to my phone "Save location as Bob's house" and it will find my location and append it to a text file with the line:

Bob's house, <GPS coordinates>

That is cool... I'm gonna add that too. Thanks for sharing!

Daniel Ahn

unread,
Nov 10, 2014, 2:28:23 PM11/10/14
to tas...@googlegroups.com
Wait Jeremy! Need more help lol. I'm a noob. 

how do you do this pary 

Enter: Voice Navigation (63)
        A1: Variable Set [ Name:%Home To:home Do Maths:Off Append:Off ] 
        A2: Variable Set [ Name:%Work To:work Do Maths:Off Append:Off ] 
        A3: Variable Set [ Name:%Parents To:mum and dad Do Maths:Off Append:Off ] 
        A4: Variable Set [ Name:%Dustin To:dustin Do Maths:Off Append:Off ] 
        A5: Variable Set [ Name:%VanessasParents To:Vanessa's parents Do Maths:Off Append:Off ] 
        A6: If [ %avcommnofilter ~ %Home ]
        A7: Variable Set [ Name:%Destination To:201 South Anystreet St Anytown PA 18049 Do Maths:Off Append:Off ] 
        A8: Else If [ %avcommnofilter ~ %Parents ]
        A9: Variable Set [ Name:%Destination To:339 Anystreet Rd Anytown PA 19504 Do Maths:Off Append:Off ] 
        A10: Else If [ %avcommnofilter ~ %Dustin ]
        A11: Variable Set [ Name:%Destination To:2456 Anystreet Ln Anytown PA 18104 Do Maths:Off Append:Off ] 
        A12: Else If [ %avcommnofilter ~ %VanessasParents ]
        A13: Variable Set [ Name:%Destination To:12 Anystreet Rd Any PA Do Maths:Off Append:Off ] 
        A14: Else If [ %avcommnofilter ~ %Work ]
        A15: Variable Set [ Name:%Destination To:795 Anystreet Rd Anytown PA 18109 Do Maths:Off Append:Off ] 
        A16: Else 
        A17: Variable Set [ Name:%Destination To:%avcommnofilter Do Maths:Off Append:Off ] 
        A18: End If 
        A19: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ] 
        A20: Send Intent [ Action:android.intent.action.VIEW Cat:None Mime Type: Data:google.navigation:q=%Destination Extra: Extra: Package: Class: Target:Activity Continue Task After Error:On ]

also what is the (62) and (63) for?

Jeremy Harris

unread,
Nov 10, 2014, 2:44:35 PM11/10/14
to tas...@googlegroups.com

Wait Jeremy! Need more help lol. I'm a noob. 

how do you do this pary 

Which part? You just quoted the whole task?

also what is the (62) and (63) for?

Those are just numbers assigned to tasks as you create them. Not important as far as I know.

Daniel Ahn

unread,
Nov 10, 2014, 2:51:21 PM11/10/14
to tas...@googlegroups.com
*part

also I'm not seeing anywhere where I can enter voice navigation. I see one for open maps and launch app > maps


On Tuesday, November 4, 2014 1:45:31 PM UTC-8, Daniel Ahn wrote:

Jeremy Harris

unread,
Nov 10, 2014, 3:06:10 PM11/10/14
to tas...@googlegroups.com

For the "voice" part, I use the Autovoice plugin. You can see how I've set it up in the profile description.  The "navigation" part is the "voice navigation" part is the entire task... You can see how I handled the voice recognition in the task description.  The "navigation" part is the very last action in the task...Send Intent... And it's what makes the magic happen.  It opens maps automatically set to navigation to wherever you told it to go.

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/FkgSbOU-bgo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Daniel Ahn

unread,
Nov 10, 2014, 3:43:11 PM11/10/14
to tas...@googlegroups.com
Ok, I saw where I was getting confused. 

I thought "voice navigation" was an action, didnt know that was just what you named the task. 

Thanks for walking me through this. First time working with variables so I had no idea what a variable set was. Got it working perfectly. Thanks again Jeremy.

Jeremy Harris

unread,
Nov 10, 2014, 3:49:12 PM11/10/14
to tas...@googlegroups.com
Great job! If you'll be adding a bunch of preloaded locations to your task in the future, I think Scott has a pretty smart approach posted above. I'm looking forward to updating mine like that. Also, on my plate for a while now, is to incorporate the Tasker built in variable %LOC into the Send Intent action...it should make the google-able destinations more accurate.

Daniel Ahn

unread,
Nov 10, 2014, 3:51:03 PM11/10/14
to tas...@googlegroups.com
Hmm. Got another problem. For some reason when it goes to the navigation it ends up navigating me to somewhere completely different than the address inputted. Do you know how to fix this?

Jeremy Harris

unread,
Nov 10, 2014, 3:54:09 PM11/10/14
to tas...@googlegroups.com
Export your profile DESCRIPTION (not XML) to your clipboard and paste it here. I'll try to see what's going wrong.

Ultimately, You'll find that %Destination isn't set with what you expect, I think.

Daniel Ahn

unread,
Nov 10, 2014, 4:08:18 PM11/10/14
to tas...@googlegroups.com
Profile: navigate To (15)

State: AutoVoice Recognized [ Configuration:Event Behaviour: true
Command: "navigate to" ]
Enter: Voice Navigation (16)
A1: Variable Set [ Name:%Home To:Home Do Maths:Off Append:Off ] 
A2: Variable Set [ Name:%Work To:Work Do Maths:Off Append:Off ] 
A3: Variable Set [ Name:%JonFisher To:John Fisher home  Do Maths:Off Append:Off ] 
A4: Variable Set [ Name:%Roberts To:Robert home Do Maths:Off Append:Off ] 
A5: If [ %avcommandfilter ~ %Home ]
A6: Variable Set [ Name:%Destination To:Censored Do Maths:Off Append:Off ] 
A7: Else If [ %avcommandfilter ~ %Work ]
A8: Variable Set [ Name:%Destination To:blah blah blah Do Maths:Off Append:Off ] 
A9: Else If [ %avcommandfilter ~ %JonFisher ]
A10: Variable Set [ Name:%Destination To:Hello Do Maths:Off Append:Off ] 
A11: Else If [ %avcommandfilter ~ %Robert ]
A12: Variable Set [ Name:%Destination To:World  Do Maths:Off Append:Off ] 
A13: Else 
A14: Variable Set [ Name:%Destination To:%avcommandfilter Do Maths:Off Append:Off ] 
A15: End If 
A16: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ] 
A17: Send Intent [ Action:android.intent.action.VIEW Cat:None Mime Type: Data:google.navigation:q=%Destination Extra: Extra: Package: Class: Target:Activity ] 

The first 2 "home" and work" both work perfectly 

Jon fisher home and robert home both navigate to chapmen university in california

On Tuesday, November 4, 2014 1:45:31 PM UTC-8, Daniel Ahn wrote:

Jeremy Harris

unread,
Nov 10, 2014, 4:17:19 PM11/10/14
to tas...@googlegroups.com

I'm not familiar with %avcommandandfilter ...is that intentional? I use %avcommnofilter no filter... which is the words after my trigger words.

So with the example:

"Navigate to Robert home"
Navigate to is the trigger and Robert home is %avcommnofilter.

I suspect that Home and Work are working for you only because maybe you have them saved as Google locations.

Try changing every instance of %avcommandandfilter to %avcommnofilter

Daniel Ahn

unread,
Nov 10, 2014, 4:46:51 PM11/10/14
to tas...@googlegroups.com
ya that was a mistake. I changed all the instances to %avcommnofilter but now all it does is search for the result in navigation.

Example: Navigate to John Fisher Home, it will open navigation and navigate to "Johnathan Fisher Memorial Home"

Roberts goes to some food place.

Daniel Ahn

unread,
Nov 10, 2014, 4:54:42 PM11/10/14
to tas...@googlegroups.com
I created another profile just to test autovoice with a flash alert and it worked with no problem


On Tuesday, November 4, 2014 1:45:31 PM UTC-8, Daniel Ahn wrote:

Jeremy Harris

unread,
Nov 10, 2014, 4:57:21 PM11/10/14
to tas...@googlegroups.com

Okay cool, you're almost there.  Your results indicate that %avcommnofilter doesn't match %JohnFisher...It's using Google as if you said "navigate to McDonald's".  There's various ways to debug that, but I'd start by using all lowercase in your If/Else conditions.

--

Jeremy Harris

unread,
Nov 10, 2014, 5:04:42 PM11/10/14
to tas...@googlegroups.com
Sorry, I mean set %JohnFisher to john fisher home

Daniel Ahn

unread,
Nov 10, 2014, 5:37:46 PM11/10/14
to tas...@googlegroups.com
Profile: navigate To (15)
State: AutoVoice Recognized [ Configuration:Event Behaviour: true
Command: "drive to" ]
Enter: Voice Navigation (16)
A1: Variable Set [ Name:%home To:Home Do Maths:Off Append:Off ] 
A2: Variable Set [ Name:%work To:Work Do Maths:Off Append:Off ] 
A3: Variable Set [ Name:%jonfisher To:John Fisher's home  Do Maths:Off Append:Off ] 
A4: Variable Set [ Name:%robert To:Roberts' home Do Maths:Off Append:Off ] 
A5: If [ %avcommnofilter ~ %home ]
A6: Variable Set [ Name:%Destination To:address Do Maths:Off Append:Off ] 
A7: Else If [ %avcommnofilter ~ %work ]
A8: Variable Set [ Name:%Destination To:address Do Maths:Off Append:Off ] 
A9: Else If [ %avcommnofilter ~ %jonfisher ]
A10: Variable Set [ Name:%Destination To:address Do Maths:Off Append:Off ] 
A11: Else If [ %avcommnofilter ~ %robert ]
A12: Variable Set [ Name:%Destination To:address  Do Maths:Off Append:Off ] 
A13: Else 
A14: Variable Set [ Name:%Destination To:%avcommnofilter  Do Maths:Off Append:Off ] 

A15: End If 
A16: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ] 
A17: Send Intent [ Action:android.intent.action.VIEW Cat:None Mime Type: Data:google.navigation:q=%Destination Extra: Extra: Package: Class: Target:Activity ] 

I changed the voice to drive to and changed it to lowercase but still the same results

On Tuesday, November 4, 2014 1:45:31 PM UTC-8, Daniel Ahn wrote:

Jeremy Harris

unread,
Nov 10, 2014, 7:11:00 PM11/10/14
to tas...@googlegroups.com

If you haven't done so already, make sure you have toasts turned on for Autovoice Continuous possible recognized commands, so you can see how your voice is recognized.

The problem is that %avcommnofilter does not match exactly what you have set for %JohnFisher (John Fisher's home).

What I was trying to say was to set it to (john fisher home), but that was just a guess...I made it confusing for you probably, sorry.

But you might find that %avcommnofilter holds "John Fishers home" or something else. You'll have to check and see, then adjust %JohnFisher accordingly.  You could check for matches against several possibilities, long term if you need to.

Rich D

unread,
Nov 11, 2014, 9:55:13 PM11/11/14
to Tasker Google Groups Post

Just another approach to consider.  

For several years,  I have been using my contacts as way points and to store any destination. Some of  the advantages of this is are..

1. The way you can search for who or what you are looking for. A contact name can be very long so you can enter as much data as you like to help you find it again. I find this far easier to use then the antiquated file hierarchy system or even worse a alphabetized list. For example, To save the location of a hiking trail head i will save it as 'Hiking town state date difficulty'  so to find hiking trails in vermont I can just search my contacts for vermont hiking or use just the town ect..

2. Instant cloud back up when created.

3. Able to access from any device with web access

4. Can use lat lon or street address

5. Easily integrated with navigation

6. Unlimited storage

7. Easily add all kinds of data for each contact

8. Easily add locations found by searching maps.

Ect... ect...

I find it absurd that google now is still incapable of navigating directly to a contact. However with tasker I think you will be able to achieve  as much automation for navigating  to a contact as you like. I personally do not find speech recognition accurate enough to get a one step voice command correct. I prefer at the very least 1 additional step where I can verify it is about to do what I want. IE when I say 'navigate to bobs' I want it to show a button and ask 'do you want to navigate to bobs'  so I do not automatically navigate to 'boobs'. 

So for my navigation I will take a voice input then have tasker open my contact search and paste in what it thinks I want to search for. This brings up a list of all 'bobs' for me to select one of them.  Then I tap on the address for the contact. After that tasker will tap on the 'get directions' option then tap on the 'navigation' option.  So I get my confirmation  screen then one additional tap will navigate me to my query..  I am sure if you wanted a one step navigation this would be possible as well..

To save a location I just do a 'get location' then convert lat lon to a address then use a 'open map' action which will open maps with a location tag showing. Hit the menu key and save to contacts. Now i already have the address in the contact name. 

Probably not for everyone,  just thought i would share..

Scott

unread,
Nov 12, 2014, 9:27:54 AM11/12/14
to tas...@googlegroups.com
I've thought about going that route, too.  I agree it's a much better solution than what I have in many ways.  I just don't use it enough to justify putting the work into it.

Though I do have my location list automatically backed up.  It's also nice to be able to set a quick way point like "my car" or some one-off location I want to temporarily save so I don't forget it (e.g. the best bar at a theme park).

I think there may be a lot more ways to implement the navigation and maps search than there was when I put my system together, too.

Don D

unread,
Nov 12, 2014, 11:28:52 PM11/12/14
to tas...@googlegroups.com
Using contacts is a great idea, I'm going to go down that path myself.  As for the navigation to boobs rather than bobs, that sounds more like an Easter egg than a bug to me...


On Tuesday, November 11, 2014 8:55:13 PM UTC-6, Rich D wrote:

Jeremy Harris

unread,
Nov 13, 2014, 9:22:47 AM11/13/14
to tas...@googlegroups.com
I second Don. :-D

It'd be interesting to see an example of this setup with contact variables.

Rich D

unread,
Nov 13, 2014, 8:52:34 PM11/13/14
to tas...@googlegroups.com


> It'd be interesting to see an example of this setup with contact variables.

What do you mean by contact variables.  As usual my set up is part of other profiles and tasks, most of the actions are basic, if you would like specifics i can pull them out for you, just let me know.. 

Rich D

unread,
Nov 13, 2014, 9:20:19 PM11/13/14
to Tasker Google Groups Post


> > It'd be interesting to see an example of this setup with contact variables.

Here is a example of how I take the 'get voice' results and start the contact search with the results. This was just copied out of a task and is not a stand alone task.


Navigate To (649)
<navigate>
A1: If [ %voice1 %voice2 ~ navigate to/navigate too/search for/call* ]
A2: Array Pop [ Variable:%voice Position:1 To Var: ] If [ %voice1 !~ call ]
A3: Array Pop [ Variable:%voice Position:1 To Var: ]
A4: Variable Join [ Name:%voice Joiner:%space Delete Parts:Off ]
A5: Run Shell [ Command:am start -a android.intent.action.SEARCH -t vnd.android.cursor.dir/contact --es query "%voice" --activity-clear-task Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A6: Goto [ Type:Action Label Number:1 Label:end task ]
A7: Stop [ With Error:Off Task: ]
A8: End If

Jeremy Harris

unread,
Nov 14, 2014, 11:01:23 AM11/14/14
to tas...@googlegroups.com
Thanks Rich. I spent most of my fleeting moments of spare time yesterday researching how to accomplish this task. My navigation task is my next project to improve. I found a few of your old posts dating back to your initial questions on the topic back I'm 2012, but couldn't really find your complete approach. I installed autocontacts and autoshare yesterday, as I think I might find those plugins helpful for this...

Since I started using Tasker in May, I haven't done anything at all with contacts, so I'm just a bit unfamiliar...but I imagine the processes are similar to other things I've done... I'll chime in if I get stuck on something. I might find some more time to play around with it over the weekend.

Thanks for sharing that intent especially. ;)

Jeremy Harris

unread,
Nov 15, 2014, 10:49:47 AM11/15/14
to tas...@googlegroups.com
So, this turned out to be way easier than I thought. I'm using AutoContacts. One thing that's stumping me this morning is making a process that checks If %avcommnofilter matches one of my contacts then navigate to it, Else Google search the destination in %avcommnofilter.

Test Voice Navigation (240)
A1: Variable Set [ Name:%Test To:%avcommnofilter Do Maths:Off Append:Off ]
A2: AutoContacts [ Configuration: Package:com.joaomgcd.autocontacts Name:AutoContacts Timeout (Seconds):1000 ]
A3: [X] Flash [ Text:%acnames() Long:Off ]
A4: [X] Stop [ With Error:Off Task: ]
A5: If [ %acnames() ~ *,%Test,* ]
A6: Variable Set [ Name:%Contact To:%Test Do Maths:Off Append:Off ]
A7: AutoContacts [ Configuration:Contact Name or Nickname: %contact Package:com.joaomgcd.autocontacts Name:AutoContacts Timeout (Seconds):1000 ]
A8: Variable Set [ Name:%Destination To:%acaddress Do Maths:Off Append:Off ]
A9: Else
A10: Variable Set [ Name:%Destination To:%Test Do Maths:Off Append:Off ]
A11: End If
A12: Send Intent [ Action:android.intent.action.VIEW Cat:None Mime Type: Data:google.navigation:q=%Destination Extra: Extra: Package: Class: Target:Activity Continue Task After Error:On ]


I'm stuck on figuring out how to make the condition on A5 true. Gonna step away for a little bit and come back fresh... Probably something obvious that I'm missing.

Jeremy Harris

unread,
Nov 15, 2014, 3:24:10 PM11/15/14
to tas...@googlegroups.com
Finished. Got both contacts integration and location integration for search destinations. Everything seems to be working well, so I'm pleased. I can navigate to any contact with an address or to any specific address spoken or to the nearest location (by zip code) of any searchable location name.

I'm open to better solutions but here's how I did it:

Profile: Voice - Navigate To (62)


State: AutoVoice Recognized [ Configuration:Event Behaviour: true

Command: "navigate to" ]
Enter: Voice Navigation (240)
A1: Variable Set [ Name:%navto To:%avcommnofilter Do Maths:Off Append:Off ]
A2: Variable Convert [ Name:%navto Function:To Lower Case Store Result In: ]
A3: Variable Search Replace [ Variable:%navto Search:[0-9] Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In:%addressdirect Replace Matches:Off Replace With: ]
A4: AutoContacts [ Configuration: Package:com.joaomgcd.autocontacts Name:AutoContacts Timeout (Seconds):1000 ]
A5: If [ %acnames() ~ *%navto* ]
A6: Variable Set [ Name:%contact To:%navto Do Maths:Off Append:Off ]

A7: AutoContacts [ Configuration:Contact Name or Nickname: %contact Package:com.joaomgcd.autocontacts Name:AutoContacts Timeout (Seconds):1000 ]

A8: If [ %acaddress !Set ]
A9: Flash [ Text:%acname doesn't have an address. Long:Off ]
A10: Else
A11: Variable Set [ Name:%destination To:%acaddress Do Maths:Off Append:Off ]
A12: End If
A13: Else If [ %addressdirect !Set ]
A14: Perform Task [ Name:LOC Convert To Address Priority:%priority + 1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A15: Variable Set [ Name:%destination To:%navto %LocZip Do Maths:Off Append:Off ]
A16: Else
A17: Variable Set [ Name:%destination To:%navto Do Maths:Off Append:Off ]
A18: End If
A19: Send Intent [ Action:android.intent.action.VIEW Cat:None Mime Type: Data:google.navigation:q=%destination Extra: Extra: Package: Class: Target:Activity Continue Task After Error:On ]


LOC Convert To Address (242)
A1: Variable Set [ Name:%space To: Do Maths:Off Append:Off ]
A2: Get Location [ Source:Any Timeout (Seconds):100 Continue Task Immediately:Off Keep Tracking:Off ]
A3: HTTP Get [ Server:Port:maps.google.com/maps/api/geocode/json?latlng=%LOC&sensor=false Path: Attributes: Cookies: User Agent: Timeout:10 Mime Type:text/xml Output File: Trust Any Certificate:Off ]
A4: Variable Set [ Name:%location To:%HTTPD Do Maths:Off Append:Off ]
A5: Variable Split [ Name:%location Splitter:"formatted_address" Delete Base:Off ]
A6: Variable Split [ Name:%location2 Splitter:" Delete Base:Off ]
A7: Variable Split [ Name:%location22 Splitter:, USA Delete Base:Off ]
A8: Variable Set [ Name:%LocAddress To:%location221 Do Maths:Off Append:Off ]
A9: Variable Split [ Name:%location221 Splitter:, Delete Base:Off ]
A10: Variable Split [ Name:%location2213 Splitter:%space Delete Base:Off ]
A11: Variable Set [ Name:%LocZip To:%location22133 Do Maths:Off Append:Off ]

Rich D

unread,
Nov 15, 2014, 4:47:42 PM11/15/14
to Tasker Google Groups Post
 
Finished.


​looks good.​

   A7: AutoContacts [ Configuration:Contact Name or Nickname: %contact Package:com.joaomgcd.autocontacts Name:AutoContacts Timeout (Seconds):1000

 


​How ​dose that work for you? do you need to have the exact contact name or just part of it? in other words if your contact is saved as Bob smith, what happens when you say "navigate to Bob"

I thought you would need a list of contact names then search that for matches and if you found more then one match then display the options.









 


Jeremy Harris

unread,
Nov 15, 2014, 5:16:06 PM11/15/14
to tas...@googlegroups.com

​looks good.

Thanks!  :)

​How ​dose that work for you? do you need to have the exact contact name or just part of it? in other words if your contact is saved as Bob smith, what happens when you say "navigate to Bob"

I thought you would need a list of contact names then search that for matches and if you found more then one match then display the options.

My sample size is small enough right now that I haven't run into any issues yet.  However, I would've expected a coma delimited array in %acnames() of all matches...but I only return a single match on the first in alphabetical order...gonna have to workaround that soon than later.

To save a location I just do a 'get location' then convert lat lon to a address then use a 'open map' action which will open maps with a location tag showing. Hit the menu key and save to contacts. Now i already have the address in the contact name. 

I'm trying to figure this bit out.  I can get converted to a formatted street address but when I'm in maps and hit menu, there's no option to Save to Contacts.

I'm using an intent to Create Contact then Auto Input from there...or that's the approach I'm taking so far...

Rich D

unread,
Nov 15, 2014, 8:52:53 PM11/15/14
to Tasker Google Groups Post

> To save a location I just do a 'get location' then convert lat lon to a address then use a 'open map' action which will open maps with a location tag showing. Hit the menu key and save to contacts. Now i already have the address in the contact name. 
>
> I'm trying to figure this bit out.  I can get converted to a formatted street address but when I'm in maps and hit menu, there's no option to Save to Contacts.
>
> I'm using an intent to Create Contact

Could you post that intent

then Auto Input from there...or that's the approach I'm taking so far...
>

That sounds a bit easier then my approach,  here is the way I do it. 


Get My Location (650)
A1: Flash [ Text:Getting Location
Please Wait Long:On ]
A2: Get Location [ Source:GPS Timeout (Seconds):16 Continue Task Immediately:Off Keep Tracking:Off ]
A3: Set Clipboard [ Text:%LOC Add:Off ]
A4: HTTP Get [ Server:Port:maps.google.com/maps/api/geocode/json?latlng=%LOC&sensor=false Path: Attributes: Cookies: User Agent: Timeout:120 Mime Type:text/xml Output File:testfile.txt Trust Any Certificate:Off Continue Task After Error:On ]
A5: Variable Set [ Name:%address To:%HTTPD Do Maths:Off Append:Off ]
A6: Variable Split [ Name:%address Splitter:"formatted_address" : Delete Base:Off ]
A7: Variable Split [ Name:%address2 Splitter:" Delete Base:Off ]
A8: Open Map [ Mode:Point Address:%Aaddress Lat,Long: Zoom:1 Label: Continue Task After Error:On ]
A9: [X] Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A10: Run Shell [ Command:input keyevent 66 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A11: Button [ Button:Menu ]
A12: Dpad [ Button:Down Repeat Times:1 ]
A13: Run Shell [ Command:input keyevent 66 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]

Jeremy Harris

unread,
Nov 15, 2014, 10:13:05 PM11/15/14
to tas...@googlegroups.com

Could you post that intent

Here you go. I sniffed this one out with Intent Intercept ;)

Contacts Testing (233)
A1: Send Intent [ Action:android.intent.action.INSERT Cat:None Mime Type: Data:content://com.android.contacts/contacts Extra: Extra: Package: Class: Target:Activity ]

here is the way I do it. 

Thanks. I'm still working mine out...just got back from movies with the wife and haven't played with it much this afternoon.

--

Jeremy Harris

unread,
Nov 15, 2014, 10:59:49 PM11/15/14
to tas...@googlegroups.com
Here we go...This launches the activity to create a new contact via a Send Intent then uses AutoInput to go thru the steps of adding an address field to the contact, pasting the formatted address, and leaving the focus on the Name field, so I can type the name I want.

LOC Save To Contact (233)
A1: Perform Task [ Name:LOC Convert To Address Priority:%priority + 1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A2: Send Intent [ Action:android.intent.action.INSERT Cat:None Mime Type: Data:content://com.android.contacts/contacts Extra: Extra: Package: Class: Target:Activity ]
A3: AutoInput Action [ Configuration:Type: Id
Value: com.android.contacts:id/button_add_field
Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
A4: AutoInput Action [ Configuration:Type: Text
Value: Address
Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
A5: AutoInput Action [ Configuration:Type: Text
Value: OK
Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
A6: Set Clipboard [ Text:%LocAddress Add:Off ]
A7: AutoInput Action [ Configuration:Type: Focus
Action : Paste Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
A8: AutoInput Action [ Configuration:Type: Text
Value: name
Action : Focus Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]

Rich D

unread,
Nov 16, 2014, 7:57:15 AM11/16/14
to Tasker Google Groups Post


> Here we go...This launches the activity to create a new contact via a Send Intent

Nice.. this is a better approach.  Did you try to find a way to include the query in the intent?  I would think this is possible. I will do some searching to see if it can be incuded in the intent. 

Jeremy Harris

unread,
Nov 16, 2014, 8:26:56 AM11/16/14
to tas...@googlegroups.com

   A7: AutoContacts [ Configuration:Contact Name or Nickname: %contact Package:com.joaomgcd.autocontacts Name:AutoContacts Timeout (Seconds):1000

 

​How ​dose that work for you? do you need to have the exact contact name or just part of it? in other words if your contact is saved as Bob smith, what happens when you say "navigate to Bob"

I thought you would need a list of contact names then search that for matches and if you found more then one match then display the options.

My sample size is small enough right now that I haven't run into any issues yet.  However, I would've expected a coma delimited array in %acnames() of all matches...but I only return a single match on the first in alphabetical order...gonna have to workaround that soon than later.

I'm getting some inconsistencies.  Sometimes it's not matching on contacts that should be there (both partial and full matches). Also, sometimes when it DOES match, %acaddress is not set for the contact when it should be.

I noticed at one point that %acnames() only contained the first half of my contacts (A-J)... I'm gonna have to dig into that a little bit today... Trying to figure out a pattern, etc...

Nice.. this is a better approach.  Did you try to find a way to include the query in the intent?  I would think this is possible. I will do some searching to see if it can be incuded in the intent. 

I've only given it a passing thought so far. Haven't figured out if I can insert an address data/field directly in the intent yet...possibly in the data or extra fields...might be a better chance by starting the intent via Run Shell instead, especially if flags are needed.

I'm looking at a pretty packed day today...but my mind is consumed with tasker, so I'll plug away more today, a little at a time...

On Nov 16, 2014 7:57 AM, "Rich D" <ricp...@gmail.com> wrote:


> Here we go...This launches the activity to create a new contact via a Send Intent

Nice.. this is a better approach.  Did you try to find a way to include the query in the intent?  I would think this is possible. I will do some searching to see if it can be incuded in the intent. 

--

Rich D

unread,
Nov 16, 2014, 9:45:40 AM11/16/14
to Tasker Google Groups Post


> Nice.. this is a better approach.  Did you try to find a way to include the query in the intent?  I would think this is possible. I will do some searching to see if it can be incuded in the intent. 

Got it.. Matt r posted this..

Send Contact Intent (651)
A1: Send Intent [ Action:android.intent.action.INSERT Cat:None Mime Type:vnd.android.cursor.dir/raw_contact Data: Extra:name:Fake name Extra:phone:555-0199 Package: Class: Target:Activity ]

Rich D

unread,
Nov 16, 2014, 10:23:43 AM11/16/14
to Tasker Google Groups Post


To add an address you would use "postal"

Send Contact Intent (651)
A1: Send Intent [ Action:android.intent.action.INSERT Cat:None Mime Type:vnd.android.cursor.dir/raw_contact Data: Extra:name:New Name Extra:postal:New Address Package: Class: Target:Activity ]

Rich D

unread,
Nov 16, 2014, 10:28:33 AM11/16/14
to Tasker Google Groups Post

Jeremy Harris

unread,
Nov 16, 2014, 11:49:44 AM11/16/14
to tas...@googlegroups.com

A1: Send Intent [ Action:android.intent.action.INSERT Cat:None Mime Type:vnd.android.cursor.dir/raw_contact Data: Extra:name:New Name Extra:postal:New Address Package: Class: Target:Activity ]

Thanks man, that's great! That effectively eliminates A3 - A8 in the task above, and even let's me do something more... like "Save location to Joe" and completely fill in both the name and address!

--

Rich D

unread,
Nov 16, 2014, 12:25:31 PM11/16/14
to Tasker Google Groups Post


> A1: Send Intent [ Action:android.intent.action.INSERT Cat:None Mime Type:vnd.android.cursor.dir/raw_contact Data: Extra:name:New Name Extra:postal:New Address Package: Class: Target:Activity ]
>
> Thanks man, that's great! That effectively eliminates A3 - A8 in the task above, and even let's me do something more... like "Save location to Joe" and completely fill in both the name and address!

Yes, much nicer..  there are a few wiggles to work out, for example I was just playing with it and when if I am at a location that does not return a street address with street numbers, like a spot along a highway, if you just save that address it will not be able to find that exact point when searching for the contacts address. So I am thinking we will need to test the returned address for a street number and if there is no street number then save the lat,lon instead of the returned address.  

I will probably make a option to enter the contact name with 'voice' for more automation, with a 'do you want to save?' option to make sure the 'get voice' "gets it correct"

Rich D

unread,
Nov 16, 2014, 1:15:41 PM11/16/14
to Tasker Google Groups Post

So I am thinking we will need to test the returned address for a street number and if there is no street number then save the lat,lon instead of the returned address.  

After more thought, with all the options and categories available with contacts I will probably try to save the lat lon as the primary address for easy navigation and the street address as a secondary address. 

I also found that a contact search appears to search 'all' the contact fields, I could have sworn I tested this a long while ago and found it to only search the contact name category. This makes thing much nicer as you can put all the info in the proper categories and still find them with quickly with a contact search. It even searches the 'notes' so this is most likely where I will be storing all the extra data I want to search the contacts for. Such as 'hiking trail head' , ;'ski mountain', 'places to see'   ect....

Jeremy Harris

unread,
Nov 16, 2014, 8:48:36 PM11/16/14
to tas...@googlegroups.com
Wow. It took me much longer to figure it out, but finally I figured out my auto contacts problems. Now this is working consistently. I do need to expand a little too account for multiple matches on a first name, for example.

Here's an updated working task:

Voice Navigation (240)
A1: Variable Set [ Name:%navto To:home Do Maths:Off Append:Off ]

A2: Variable Convert [ Name:%navto Function:To Lower Case Store Result In: ]
A3: Variable Search Replace [ Variable:%navto Search:[0-9] Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In:%addressdirect Replace Matches:Off Replace With: ]

A4: AutoContacts [ Configuration:Contact Name or Nickname: %navto Package:com.joaomgcd.autocontacts Name:AutoContacts Timeout (Seconds):1000 Continue Task After Error:On ]
A5: If [ %acname Set ]
<Check Contact Address>
A6: If [ %acaddresses1 ~ *acadd* ]
A7: For [ Variable:%contact Items:%acaddresses() ]
A8: Array Pop [ Variable:%acaddresses Position:1 To Var: ]
A9: Goto [ Type:Action Label Number:1 Label:Check Contact Address ]
A10: End For
A11: Else
A12: Variable Set [ Name:%destination To:%acaddresses1 Do Maths:Off Append:Off ]
A13: Flash [ Text:Navigating to contact at %acaddresses1 Long:Off ]
A14: End If
A15: Else If [ %addressdirect !Set ]
A16: Perform Task [ Name:LOC Convert To Address Priority:%priority + 1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A17: Variable Set [ Name:%destination To:%navto %LocZip Do Maths:Off Append:Off ]
A18: Flash [ Text:Navigating to search result. Long:Off ]
A19: Else
A20: Variable Set [ Name:%destination To:%navto Do Maths:Off Append:Off ]
A21: Flash [ Text:Navigating to address. Long:Off ]
A22: End If
A23: Send Intent [ Action:android.intent.action.VIEW Cat:None Mime Type: Data:google.navigation:q=%destination Extra: Extra: Package: Class: Target:Activity Continue Task After Error:On ]

Jeremy Harris

unread,
Nov 16, 2014, 8:55:18 PM11/16/14
to tas...@googlegroups.com
After more thought, with all the options and categories available with contacts I will probably try to save the lat lon as the primary address for easy navigation and the street address as a secondary address.

That makes sense, and I'll probably follow suit... It'll be very useful to mark my hunting stands and trail heads.

Jeremy Harris

unread,
Nov 16, 2014, 9:01:35 PM11/16/14
to tas...@googlegroups.com
A5: Run Shell [ Command:am start -a android.intent.action.SEARCH -t vnd.android.cursor.dir/contact --es query "%voice" --activity-clear-task Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]

I tried it this way too...I kinda like being able to select from a list of partial matches! Right now, my goal is to be 100% hands free, but I'm going to consider automating this way too...combination of AutoVoice and AutoInput or touch simulations might do the trick...hmm...maybe even navigate intent... interesting.

Rich D

unread,
Nov 16, 2014, 9:13:55 PM11/16/14
to Tasker Google Groups Post


> After more thought, with all the options and categories available with contacts I will probably try to save the lat lon as the primary address for easy navigation and the street address as a secondary address.
>
> That makes sense, and I'll probably follow suit... It'll be very useful to mark my hunting stands and trail heads.

I have been at this for a few hrs and So far I can not figure out how to set 2 different address fields with the same intent. I went to a shell command intent because tasker only has 2 extra fields and I figured I would be setting more then 2 of the contact data fields. It seems I can set as many fields as I like but I can not set a primary address and a secondary address. 

Here is the shell command..

Send Contact Intent (651)

A2: Run Shell [ Command:am start -a android.intent.action.INSERT -t vnd.android.cursor.dir/raw_contact -e "name" "New contact name" -e "postal" "123 main street westford MA" -e "notes" "hiking trail" Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]

Jeremy Harris

unread,
Nov 16, 2014, 9:38:06 PM11/16/14
to tas...@googlegroups.com

It seems I can set as many fields as I like but I can not set a primary address and a secondary address. 

Here is the shell command..

Send Contact Intent (651)

A2: Run Shell [ Command:am start -a android.intent.action.INSERT -t vnd.android.cursor.dir/raw_contact -e "name" "New contact name" -e "postal" "123 main street westford MA" -e "notes" "hiking trail" Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]

Hmmm....auto contacts has a variable for "address type" (ie: home, work, etc...) so I wonder if a good place to start figuring out how to add multiple addresses would be to identify the "type" of address in the field?

Jeremy Harris

unread,
Nov 16, 2014, 10:15:08 PM11/16/14
to tas...@googlegroups.com
http://developer.android.com/reference/android/provider/ContactsContract.Intents.Insert.html

Check out

POSTAL_ISPRIMARY flag
and also
POSTAL_TYPE

I can successfully set an address as "work" type instead of the default "home" type using both of the Extra fields in a Send Intent action.

I'm not too experienced in invoking from shell but I gave that a shot unsuccessfully...but this has got to be possible.

Jeremy Harris

unread,
Nov 16, 2014, 10:18:03 PM11/16/14
to tas...@googlegroups.com
am start -a android.intent.action.INSERT -t vnd.android.cursor.dir/raw_contact -e "name" "New contact name" -e "postal_type" "work" -e "postal" "123 main street westford MA" -e "postal_type" "home" -e "postal" "234 anywhere"

...how I tried to modify...

Rich D

unread,
Nov 16, 2014, 10:24:10 PM11/16/14
to Tasker Google Groups Post


> http://developer.android.com/reference/android/provider/ContactsContract.Intents.Insert.html
>
> Check out
>
> POSTAL_ISPRIMARY flag
> and also
> POSTAL_TYPE

Yea, those are the ones I have been playing with.

>
> I can successfully set an address as "work" type instead of the default "home" type using both of the Extra fields in a Send Intent action.

I think if you check closely you will find you made a additional 'work' category as a extra label. and it is not the  actual 'work ' category.  That was my findings anyway. 

>
> I'm not too experienced in invoking from shell but I gave that a shot unsuccessfully...but this has got to be possible.

I am not sure about that... :(

>

Jeremy Harris

unread,
Nov 16, 2014, 10:44:34 PM11/16/14
to tas...@googlegroups.com

I am not sure about that... :(

Well, at the very least, I can use this intent to open the Create Contact screen with name and 1 address, then use AutoInput to click the "+" button, then paste 2nd address.

I'm also trying to figure out if it's possible to run the intent as is, then run a second intent ACTION_EDIT right afterwards, to add a second address to the existing contact just created by the first action...

--

Rich D

unread,
Nov 16, 2014, 11:08:24 PM11/16/14
to Tasker Google Groups Post


> Well, at the very least, I can use this intent to open the Create Contact screen with name and 1 address, then use AutoInput to click the "+" button, then paste 2nd address.

True..

>
> I'm also trying to figure out if it's possible to run the intent as is, then run a second intent ACTION_EDIT right afterwards, to add a second address to the existing contact just created by the first action...

That was my next thought as well.  However I am not apposed to simply set another field as the street address (like 'company' )  and set the address field to lat, lon.  

Rich D

unread,
Nov 17, 2014, 6:58:37 AM11/17/14
to Tasker Google Groups Post


> > I'm also trying to figure out if it's possible to run the intent as is, then run a second intent ACTION_EDIT right afterwards, to add a second address to the existing contact just created by the first action...

Okay I give up.. The fact that the docs list additional categories for phone and email but not for address  leads me to believe that this is not possible. And if it is, it over my head to figure it out anyway...  :)

Jeremy Harris

unread,
Nov 17, 2014, 7:19:53 AM11/17/14
to tas...@googlegroups.com

Okay I give up..

Ah yes, a worthy adversary it's proven to be. The work week beckons me, but I'll continue to tinker here and there.

I am overwhelming pleased with how this weekend's project has turned out though. Very good ideas to implement contacts to my navigation and being able to add new waypoints to contacts. So, thank you for the idea and support!

Jeremy Harris

unread,
Nov 17, 2014, 2:43:15 PM11/17/14
to tas...@googlegroups.com
Well, here's my solution for now...I'm satisfied, but I'm gonna keep tinkering for a cleaner way to do this. I can save a way point with this task via AutoVoice Recognized or by a tap on a desktop shortcut. If launched from AutoVoice, both lat/long and street address is entered, name entered, contact saved and exited. If launched by shortcut then focus is left on the Name field, to be entered manually.


LOC Save To Contact (233)
A1: Perform Task [ Name:LOC Convert To Address Priority:%priority + 1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]

A2: Send Intent [ Action:android.intent.action.INSERT Cat:None Mime Type: Data:content://com.android.contacts/contacts Extra:postal_type:Navigation Extra:postal:%LocLatLon Package: Class: Target:Activity ]

A3: AutoInput Action [ Configuration:Type: Id

Value: com.android.contacts:id/add_button_container
Nearby Text: address


Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]

A4: Set Clipboard [ Text:%LocAddress Add:Off ]
A5: AutoInput Action [ Configuration:Type: Focus


Action : Paste Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]

A6: If [ %AVCONTINUOUS !~ true ]
A7: AutoInput Action [ Configuration:Type: Text


Value: name
Action : Focus Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]

A8: Else
A9: Set Clipboard [ Text:%avcommnofilter Add:Off ]
A10: AutoInput Action [ Configuration:Type: Text


Value: name
Action : Paste Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]

A11: AutoInput Action [ Configuration:Type: Text
Value: save


Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]

A12: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A13: Run Shell [ Command:input keyevent 4 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A14: End If

Rich D

unread,
Nov 17, 2014, 4:02:56 PM11/17/14
to Tasker Google Groups Post


> Well, here's my solution for now...

I will probably end up with something very similar.

both lat/long and street address is entered,

I found if I did that and the street address did not contain street numbers then need a navigation app would  Try to locate a combination of the lat lon and street address and not find it.

That is why I will probably not put them together and use a different category for the street address.

Here is the address I was testing with.

42.41001715,-72.10933331666666. Massachusetts 2, Athol, MA 01331, USA

Rich D

unread,
Nov 17, 2014, 5:13:11 PM11/17/14
to Tasker Google Groups Post


To navigate to a contact I revised my approach a little.

Now I, 

get voice
Check for 'navigate to'
Open contact search with my query
Tap on correct contact
Long press on address (this can be lat lon or street)
Tap on "copy to clipboard"

I now have a additional profile like this..

Profile: Navigate To Clip (652)
Event: Variable Set [ Variable:%CLIP Value:%WIN ]
Enter: Nav To Clip On (653)
A1: Notify [ Title:It Worked Text: Icon:null Number:0 Permanent:Off Priority:3 ]
A2: Open Map [ Mode:Navigate To Address:%CLIP Lat,Long: Zoom:1 Label: Continue Task After Error:On ]

On my device the %WIN value becomes the value of the displayed address when the 'copy to clip board' toast comes up,  so setting the clipboard will trigger this profile. Then i just use a 'open map' action set to navigation.  Even though i have the data in a 'address' field it will still work if the address is a lat, lon. 

.

Rich D

unread,
Nov 17, 2014, 5:18:11 PM11/17/14
to Tasker Google Groups Post

Edit..

> Now I have
>
>tasker- get voice
>tasker-  Check for 'navigate to'
>tasker-  Open contact search with my query
> user-  Tap on correct contact
> user-  Long press on address (this can be lat lon or street)
> user- Tap on "copy to clipboard"
>

So i now have 3 screen taps to navigate to a contact and i have my confirmation screen.

Jeremy Harris

unread,
Nov 17, 2014, 9:02:04 PM11/17/14
to tas...@googlegroups.com
I found if I did that and the street address did not contain street numbers then need a navigation app would Try to locate a combination of the lat lon and street address and not find it.

Since my approach is different than yours I didn't expect to run into that problem...and I don't. But I expected that I would have both addresses loaded in %acaddresses()...and I don't. I only get the lat/long loaded and the street address remains inaccessible in AutoContacts as far as I can tell.

That's functional, so okay by me. Street address is still visible in the contact if I need to view it.

Message has been deleted

Jeremy Harris

unread,
Nov 17, 2014, 9:10:06 PM11/17/14
to tas...@googlegroups.com
On my device the %WIN value becomes the value of the displayed address when the 'copy to clip board' toast comes up, so setting the clipboard will trigger this profile. Then i just use a 'open map' action set to navigation. Even though i have the data in a 'address' field it will still work if the address is a lat, lon.

Clever! I like it. The contact search intent you're using is really nice... I still need to create a scene, or adopt your method, or find some other way to deal with matches on multiple contacts that have addresses. Right now it's not a problem because I don't have many addresses saved to my contacts... that'll change quickly though.

Reply all
Reply to author
Forward
0 new messages