Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

adb command to launch voice command not working #24

Description

@patrabas

Hello,

On step 3 where it says to execute this command:

adb shell am start -a com.google.android.gms.actions.SEARCH_ACTION \
--es query "salad" com.recipe_app

If I execute it as a one single line, I get the following result:

>adb shell am start -a com.google.android.gms.actions.SEARCH_ACTION \ --es query "salad" com.recipe_app
Starting: Intent { act=com.google.android.gms.actions.SEARCH_ACTION pkg= --es }
Error: Activity not started, unable to resolve Intent { act=com.google.android.gms.actions.SEARCH_ACTION flg=0x10000000 pkg= --es }

If I copy/paste it directly from the tutorial (two lines) I get the following result:

>adb shell am start -a com.google.android.gms.actions.SEARCH_ACTION \
--es query "salad" com.recipe_appStarting: Intent { act=com.google.android.gms.actions.SEARCH_ACTION }

Plus I get the app prompted but not showing the results nor the filtered search as you can see here:
screenshot_20170630-094610

Any idea what am I doing wrong?
Thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions