How to show my “app action” in google assistant, after user requesting by voice like “Ok Google, make...












1















Am working on a android project, where user wants to change his status online/offline through voice command. Whenever user says "Ok Google, make me online"



1.My action should be routed to my application context from google assistant, there I can change user status online/offline, is it possible?.



If not possible, can I do like this.



2.Whenever user says "Ok Google, make me online" can google assistant show button with my application icon like this,(but that should be specific for my app)



enter image description here



If above is possible, from the google assistant, I can click on the button and route user to my app, there I can do my task.



can you tell me how can I achieve this?










share|improve this question



























    1















    Am working on a android project, where user wants to change his status online/offline through voice command. Whenever user says "Ok Google, make me online"



    1.My action should be routed to my application context from google assistant, there I can change user status online/offline, is it possible?.



    If not possible, can I do like this.



    2.Whenever user says "Ok Google, make me online" can google assistant show button with my application icon like this,(but that should be specific for my app)



    enter image description here



    If above is possible, from the google assistant, I can click on the button and route user to my app, there I can do my task.



    can you tell me how can I achieve this?










    share|improve this question

























      1












      1








      1








      Am working on a android project, where user wants to change his status online/offline through voice command. Whenever user says "Ok Google, make me online"



      1.My action should be routed to my application context from google assistant, there I can change user status online/offline, is it possible?.



      If not possible, can I do like this.



      2.Whenever user says "Ok Google, make me online" can google assistant show button with my application icon like this,(but that should be specific for my app)



      enter image description here



      If above is possible, from the google assistant, I can click on the button and route user to my app, there I can do my task.



      can you tell me how can I achieve this?










      share|improve this question














      Am working on a android project, where user wants to change his status online/offline through voice command. Whenever user says "Ok Google, make me online"



      1.My action should be routed to my application context from google assistant, there I can change user status online/offline, is it possible?.



      If not possible, can I do like this.



      2.Whenever user says "Ok Google, make me online" can google assistant show button with my application icon like this,(but that should be specific for my app)



      enter image description here



      If above is possible, from the google assistant, I can click on the button and route user to my app, there I can do my task.



      can you tell me how can I achieve this?







      android google-assistant-sdk google-voice-actions






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 13 '18 at 11:36









      Anbarasu ChinnaAnbarasu Chinna

      493217




      493217
























          1 Answer
          1






          active

          oldest

          votes


















          0














          It seems you would want to achieve the described usecase using App Actions
          It not currently available for developer preview, but it will come soon.



          You may also want to see this Google IO 2018 Talk HERE describing the same flow you want to achieve.



          Hope it helps.






          share|improve this answer
























          • Thanks for the reply, I watched the above Google IO 2018 video you have given. Can I achieve the same this using DialogFlow.

            – Anbarasu Chinna
            Nov 13 '18 at 11:56











          • DialogFlow is meant to create some actions within Google Assistante and will direct interact with backend apis you created. So, It would not work as per your thinking. It would be like you are creating some question answer module within google assistante. Android app would not be in picture in this case.

            – Bhavesh Patadiya
            Nov 14 '18 at 4:37













          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53280178%2fhow-to-show-my-app-action-in-google-assistant-after-user-requesting-by-voice%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          It seems you would want to achieve the described usecase using App Actions
          It not currently available for developer preview, but it will come soon.



          You may also want to see this Google IO 2018 Talk HERE describing the same flow you want to achieve.



          Hope it helps.






          share|improve this answer
























          • Thanks for the reply, I watched the above Google IO 2018 video you have given. Can I achieve the same this using DialogFlow.

            – Anbarasu Chinna
            Nov 13 '18 at 11:56











          • DialogFlow is meant to create some actions within Google Assistante and will direct interact with backend apis you created. So, It would not work as per your thinking. It would be like you are creating some question answer module within google assistante. Android app would not be in picture in this case.

            – Bhavesh Patadiya
            Nov 14 '18 at 4:37


















          0














          It seems you would want to achieve the described usecase using App Actions
          It not currently available for developer preview, but it will come soon.



          You may also want to see this Google IO 2018 Talk HERE describing the same flow you want to achieve.



          Hope it helps.






          share|improve this answer
























          • Thanks for the reply, I watched the above Google IO 2018 video you have given. Can I achieve the same this using DialogFlow.

            – Anbarasu Chinna
            Nov 13 '18 at 11:56











          • DialogFlow is meant to create some actions within Google Assistante and will direct interact with backend apis you created. So, It would not work as per your thinking. It would be like you are creating some question answer module within google assistante. Android app would not be in picture in this case.

            – Bhavesh Patadiya
            Nov 14 '18 at 4:37
















          0












          0








          0







          It seems you would want to achieve the described usecase using App Actions
          It not currently available for developer preview, but it will come soon.



          You may also want to see this Google IO 2018 Talk HERE describing the same flow you want to achieve.



          Hope it helps.






          share|improve this answer













          It seems you would want to achieve the described usecase using App Actions
          It not currently available for developer preview, but it will come soon.



          You may also want to see this Google IO 2018 Talk HERE describing the same flow you want to achieve.



          Hope it helps.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 13 '18 at 11:42









          Bhavesh PatadiyaBhavesh Patadiya

          22.2k126899




          22.2k126899













          • Thanks for the reply, I watched the above Google IO 2018 video you have given. Can I achieve the same this using DialogFlow.

            – Anbarasu Chinna
            Nov 13 '18 at 11:56











          • DialogFlow is meant to create some actions within Google Assistante and will direct interact with backend apis you created. So, It would not work as per your thinking. It would be like you are creating some question answer module within google assistante. Android app would not be in picture in this case.

            – Bhavesh Patadiya
            Nov 14 '18 at 4:37





















          • Thanks for the reply, I watched the above Google IO 2018 video you have given. Can I achieve the same this using DialogFlow.

            – Anbarasu Chinna
            Nov 13 '18 at 11:56











          • DialogFlow is meant to create some actions within Google Assistante and will direct interact with backend apis you created. So, It would not work as per your thinking. It would be like you are creating some question answer module within google assistante. Android app would not be in picture in this case.

            – Bhavesh Patadiya
            Nov 14 '18 at 4:37



















          Thanks for the reply, I watched the above Google IO 2018 video you have given. Can I achieve the same this using DialogFlow.

          – Anbarasu Chinna
          Nov 13 '18 at 11:56





          Thanks for the reply, I watched the above Google IO 2018 video you have given. Can I achieve the same this using DialogFlow.

          – Anbarasu Chinna
          Nov 13 '18 at 11:56













          DialogFlow is meant to create some actions within Google Assistante and will direct interact with backend apis you created. So, It would not work as per your thinking. It would be like you are creating some question answer module within google assistante. Android app would not be in picture in this case.

          – Bhavesh Patadiya
          Nov 14 '18 at 4:37







          DialogFlow is meant to create some actions within Google Assistante and will direct interact with backend apis you created. So, It would not work as per your thinking. It would be like you are creating some question answer module within google assistante. Android app would not be in picture in this case.

          – Bhavesh Patadiya
          Nov 14 '18 at 4:37




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53280178%2fhow-to-show-my-app-action-in-google-assistant-after-user-requesting-by-voice%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          Academy of Television Arts & Sciences

          L'Équipe

          1995 France bombings