简体   繁体   English

Google 人员是否支持 Java 中的“将 Android 应用程序扩展为具有应用程序操作的 Google 助理”?

[英]Does Google people support “Extend an Android app to Google Assistant with App Actions” in Java?

There is an instruction and Kotlin sample code in the following site.以下站点中有一条指令和 Kotlin 示例代码。

Extend an Android app to Google Assistant with App Actions:使用应用操作将 Android 应用扩展到 Google 助理:

https://codelabs.developers.google.com/codelabs/appactions/#0 https://codelabs.developers.google.com/codelabs/appactions/#0

Is it possible to implement this function by Java not Kotlin?是否可以通过 Java 而不是 Kotlin 来实现这个 function? I am wondering if Google people don't support the function in Java because it is the latest technology.我想知道谷歌人是否不支持 Java 中的功能,因为它是最新技术。 If they still support it in Java, can you share any Java sample code of the function?如果他们在 Java 中仍然支持它,你能分享 function 的任何 Java 示例代码吗?

Good question.好问题。 Not at the moment.现在不行。 There is tooling on the web to convert Java to Kotlin. web 上有工具可将 Java 转换为 Kotlin。 But all current examples are based on Kotlin.但当前所有示例均基于 Kotlin。 Thanks!谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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