android - Add Google Assistent in Flutter project - Stack Overflow

I would like to integrate for my app voice commands, like “ok google open MyApp” or “ok google open a f

I would like to integrate for my app voice commands, like “ok google open MyApp” or “ok google open a file in MyApp”

I am creating an app with Flutter in dart and so I would like to do first the work for google/android and then siri/apple I started with google, and I am using visual code, so not directly in android studio by reading some documentation and also using chatgpt or gemini, I was able to correctly edit my manifest file, my rooter and correctly added an action file.

Running some commands from terminal my opens correctly in the emulator ,

adb shell am start -a android.intent.action.VIEW -d "MyApp://open"

now I would like to do it on the physical phone, but there are some things that are not clear to me reading also some online documentation or seeing some examples

Following this documentation tells me to create a shortcuts.xml file

after which I should install the Google Assistant plugin and here I have the first problem

I think I understand that I have to install it from Android Studio, even though I am working in Visual Code

I open Android Studio, but I can't find the Plugin

I searched on the net and on the documentation page

I find the message Not compatible with the version of your running IDE (Android Studio Meerkat | 2024.3.1 Patch 1)

So I didn't understand how to move forward on this. It doesn't seem to me that within Flutter or in the build.gradle I need to do something

Then I understood that I can create an array.xml file to associate different words with commands

Finally, it is not clear to me if I am forced to upload the application to the Google Play Console or I can do some testing first

so, you guys can give me some advice for how to install Foofle Assistent for my Application in Flutter and give some tests with an Android phone

also I would like to know how do I say “Ok google Open a Test dossier with Myapp” is google able to understand the phrase or do I have to set it?

Thanks

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744082394a4555540.html

相关推荐

  • android - Add Google Assistent in Flutter project - Stack Overflow

    I would like to integrate for my app voice commands, like “ok google open MyApp” or “ok google open a f

    9天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信