简体   繁体   中英

How to open google assistant in Android TV Emulator

I'm working with the voice assistant, but I'm not sure how I can open the google assistant in the Android TV Emulator.

I was able to setup my microphone, and it's working when I open the google assistant in the android tv home. However, I want to open it while using my app. If it was a real tv, I would have the mic or assistant button on the remote controller, but in this case I just have the emulator.

An ADB command to trigger it would also help.

Thank you,

This adb command should work specifying the Assistant component

adb shell am start-activity com.google.android.apps.googleassistant/.AssistantActivity

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM