Use the google navigation card in my dialogflow agent - actions-on-google

Is there a way i can use Google's Navigation Card, the one shown when you ask something like "Navigate to home", in my agent ? I can't find any tutorials related to this.
I was trying to open Maps application, but this (Google's Navigation Card) is more suitable to my requirement, as if the user doesn't want to go to the link.

Actions on Google (the Google Assistnat 3rd party platform) doesn't support navigation cards for 3rd party apps yet. You can emulate a navigation card by:
Creating a basic card
Make the image of the basic card a screenshot of the directions
Make the button of the basic card a deep link to Google maps for the desired directions

No, the Actions on Google platform is separate from whatever capabilities are on the underlying OS platform.
You may wish to look into using the Static Maps API to provide the image and path as an overview on a card, and then include a link out to the app if the user wants to do navigation.

Related

How to display info on the default screen of a Google Nest hub

I am trying to display infos from a Google Sheet to the "lockscreen" (don't know how to call it) of a Google Nest Hub.
I want the info to be displayed all the time and take advantage of this screen that is always on.
Basically that would be a Todo list. I don't understand why I need to invoke an app or talk to my device while the screen is always on with weather, time displayed and the background picture.
WHAT I TRIED SO FAR:
I have serched the generic documentation for Google Assistant (https://developers.google.com/assistant)
I don't see any doc about that or any app available (yet?) that has this feature.
Thanks for any help/suggestion.
The platform does not provide a way for third-party apps to add content to the homescreen.

Is it possible to implement Hands free call using Dialogflow for Google Home

I have some requirement to develop a Hands free call using Dialog-flow with/without using third party apps.Is it possible to implement business services using custom skill for Hands free calls from Google Home.Whether this kind of permission is provided from Google Home or not?
If their means can i have a sample/example related to above requirment
Thanks in Advance.
As far as I know Google (and I don't speak for them) does not publish an API for making calls the way the Home devices do. The best that you can do is to put a link on a button on a basic card or have a suggestion link that references the "tel:" scheme.

Where are google home cards displayed if not using smartphone?

On amazon alexa, cards are displayed in the amazon alexa app or on the screen of an echo show ?). If I call my google actions on my smartphone, I am also able to view the cards. But what happens if I use a different non-screen surface, like the google home? Do the cards appear in the google home app anywhere or do they just get lost?
Cards (and other visual elements you can add) aren't shown if the surface you're currently interacting with doesn't support them. This is intentional since the user may not expect them there and might open the app later and be surprised.
You can always check what surfaces are being supported in your current conversation by using app.getAvailableSurfaces() or the equivalent JSON properties. If you need to show the user something, you can prompt them to change to a surface that supports display by using app.askForNewSurface(). See the documentation about Surface Capabilities for detailed information.
In general, it is a good design to expect the user to only interact with their voice and to require visual information only minimally. Visual information should be used to supplement and enhance the voice as much as possible.

iOS 8 linking to a website through a text view

I'm working on an app that needs to link to Stripe's terms of service website. I have a text view in my view controller.
https://stripe.com/connect/account-terms works as a link when I set the behavior to Selectable and the detection to links and addresses.
However, I would link to hide the link behind the phrase "Stripe Connected Account Agreement".
Does anyone know how to do this using Swift and iOS 8?
Also, as a design choice, I do not have to do anything except have a link present to the terms of service to meet legal compliance. Still, should I consider implementing a web view?
Use a NSAttributedString constructed like this: NSAttributedString(string:"Stripe Connected Account Agreement", attributes:[NSLinkAttributeName: NSURL(string:"http://website.com")])

Turn by turn navigation in iPhone application

I am developing an iPhone application for restaurants. I have used mapkit to show the locations of restaurants. User also have option to see route to a particular location (restaurant) from the current location. I need to add turn by turn navigation in it. I am using google maps and somewhere I read that iPhone does not show turn by turn navigation because that is restricted in Apple-Google contract for maps. Is it really true? If it is, then is there any other way or any 3rd party library, by which I can implement turn by turn navigation?
Thanks in advance
Regards,
PC
Your best option for navigation is to let the user choose the turn by turn they want:
- Apple Maps using the maps.apple.com
- Google Maps using the maps.google.com
other apps, such as Navigon, Tom tom.
It is a complicated feature and you're much better off not taking responsibility for any shortcomings of services.
Google Maps licence agreement prevents you from doing turn by turn.
Check Drawing a route in MapKit in iPhone SDK