3

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-mapping
            intentParameter="drop"
            urlParameter="drop" />
    </fulfillment>
    </action>
</actions>

Here I put a sample url in the place of urlTemplate . But after I install the app in my device the below option(APP ACTION TEST TOOL) is not coming. Here is the video link where I have taken the screen shot.

enter image description here

So I do R&D on that and I have found some link for the conversational action of google codelabs.

Please let me know if you need more information.

AdamK
  • 21,199
  • 5
  • 42
  • 58
Subho
  • 539
  • 1
  • 9
  • 25
  • Do you have get any idea about this requirement from anywhere? If you have any solution drop the comments here – Anbarasu Chinna Jan 23 '19 at 07:39
  • Still the feature it does not release(https://developer.android.com/guide/actions/) it is still progress and about the AS I still have confusion. – Subho Jan 23 '19 at 10:50
  • 1
    I am also not getting 'App Actions Test Tool' option in Android Studio. How could i test the google assistant? Please reply if any one have idea about that. – Dmarp Mar 28 '19 at 10:53

1 Answers1

2

At Google I/O 2019, some updates were posted about App Actions. The menu item you're looking for is enabled by installing the App Actions Test Tool plugin which you can find in the Android Studio plugin marketplace by searching for "App Actions" (web link).

AdamK
  • 21,199
  • 5
  • 42
  • 58
  • Hey I saw your video you just rock. – Subho May 24 '19 at 09:30
  • 1
    Thanks for watching. Feel free to post additional questions about App Actions to stackoverflow (tag: app-actions) and we will do our best to answer them. – AdamK May 24 '19 at 11:12
  • I have a question. I implemented this app: https://github.com/actions-on-google/appactions-fitness-kotlin . Changed the package name, but left the rest of the code the same, but when I try "Start running in fit actions" it just gives me google search responses. What am I doing wrong? Do I need to also put something in my console.actions.google.com? – rosu alin Aug 19 '19 at 12:44
  • @rosualin might be best to post a new question with more details and link to it here, but before trying a query, make sure you test with the Studio Test Tool plugin (https://developers.google.com/actions/appactions/quickstart#preview) and ensure that works first, once that's working you can try voice queries. – AdamK Aug 19 '19 at 22:47