如何从 Android 的 Mono 中的 Java 类调用 .NET 类? [英] How to call a .NET class from a Java class in Mono from Android?
本文介绍了如何从 Android 的 Mono 中的 Java 类调用 .NET 类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经实现了一个显示 Google 地图视图的 Java 活动,并希望使用现有的 .NET 框架类从 Web 服务返回位置以显示在地图上.这是可能的还是我应该只使用 Java 中的 Web 服务?
I have implemented a Java activity that displays a Google map view, and would like to use an existing .NET framework class to that returns locations, from a web service, to display on the map. Is this possible or should I just consume the web service in Java?
推荐答案
你可以通过实现 ACW 来做到这一点,但我认为为此目的使用一些android框架是困难和更好的.
You can do this implementing ACW,but i think that it is to difficult and better to use some android framework for this purpose.
还有为什么你不能使用托管代码来实现这个活动?
Also why you can't implement this activity using managed code?
这篇关于如何从 Android 的 Mono 中的 Java 类调用 .NET 类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文