[英]Possible to launch the Google Assistant from my own Xamerin Android application?
Is it possible to launch the Google Assistant from my own Xamerin Android application instaed of long press the home button?是否可以从我自己的 Xamerin Android 应用程序启动 Google 助理,而不是长按主页按钮? I have done some research and there are plenty of examples where the Google Assistant can call your own application but not the way around.
我做了一些研究,有很多例子表明 Google Assistant 可以调用你自己的应用程序,但不能反过来。 Is Google allowing users to launch the Assistant in other ways than speech and the home button?
谷歌是否允许用户以语音和主页按钮以外的其他方式启动智能助理?
Just start its activity com.google.android.apps.googleassistant/.AssistantActivity
I believe something like below should do the trick刚开始它的活动
com.google.android.apps.googleassistant/.AssistantActivity
我相信像下面这样的东西应该可以解决问题
Intent i = new Intent();
i.setPackage("com.google.android.apps.googleassistant");
i.setClassName("com.google.android.apps.googleassistant.AssistantActivity");
startActivity(i);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.