简体   繁体   English

从 python 调用 java function - Chaquopy

[英]Call java function from python - Chaquopy

I went through Chaquopy docs and found;我浏览了 Chaquopy 文档并找到了; with Chaquopy, java and python code can be called as user wishes.使用 Chaquopy,java 和 python 代码可根据用户要求调用。

I went through example apps and found examples for either calling python from java or running Android code through python and not the other way like calling java function from python. I went through example apps and found examples for either calling python from java or running Android code through python and not the other way like calling java function from python.

Is there some example available or some reference for calling java function from python?是否有一些可用的示例或一些参考可用于从 python 调用 java function?

It would be better to add such example on Github examples if not already available.如果尚不可用,最好在 Github 示例中添加此类示例。

Referred Chaquopy sample app on Github Github 上的参考 Chaquopy示例应用程序

The API reference is here , and there is a large example here . API 参考在这里这里有一个大的例子。

If you have a specific problem, please ask another question and explain exactly what you're trying to do.如果您有特定问题,请提出另一个问题并准确解释您要做什么。

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

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