且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Monodroid,互操作悫Java和C#

更新时间:2022-11-08 11:32:49

您可以方便地调用从本地code Java的活动是这样的:

You can easily call Java activity from native code like this:

var intent = new Intent().SetClassName(this,"com.myapp.java.JavaActivity");
StartActivity(intent);

当我从理解这篇文章您可以调用从Java本机code通过ACW,但我认为这是太困难了。

As I understood from this article you can invoke native code from Java via ACW, but I think that it's too difficult