app-actions

Creating custom Built in Intents for App Actions

别说谁变了你拦得住时间么 提交于 2019-12-22 17:08:19
问题 There is a list of Built-in Intents available that can be used in App Actions on the Google Developers website, is there any way we can create our custom Built-in Intents? 回答1: No, it's not currently possible to create custom built-in intents for App Actions. As per the App Actions docs: If these built-in intents do not support your use case, please file a feature request on the public issues tracker As a side note, while not custom, there is a more generic "open app feature" ( actions.intent

how to integrate app action using actions.xml?

孤者浪人 提交于 2019-12-08 00:36:41
问题 I am trying to build a build-in-intent[actions.intent.CHECK_AIR_QUALITY]. I have already added the actions.xml in my project. Here is the code: <?xml version ="1.0" encoding ="utf-8"?><!-- Learn More about how to use App Actions: https://developer.android.com/guide/actions/index.html --> <actions> <!--Example Action --> <action intentName="actions.intent.CHECK_AIR_QUALITY"> <action-display label="Check quality" /> <fulfillment urlTemplate="https://www.google.co.in/order{?drop}"> <parameter