是否可以在Java中使用特定于平台的跨平台sdk方法?

时间:2022-05-22 12:15:54

is it possible to use functions and methods of an mobile cross-platform sdk, especially MoSync, in Java?

是否可以在Java中使用移动跨平台sdk的功能和方法,尤其是MoSync?

I know about JNI and JNA to solve such problems. But the issue of MoSync is that the compiler produces an intermediate language. This is executed by the runtime environment. In this case I can´t create a DLL because it can´t used without the runtimes.

我知道JNI和JNA要解决这些问题。但是MoSync的问题在于编译器会产生一种中间语言。这由运行时环境执行。在这种情况下,我无法创建DLL,因为它没有运行时使用。

The reason: I wan´t to use the communication interface to communicate across plattforms.

原因是:我不想使用通信接口跨平台进行通信。

Thanks

谢谢

1 个解决方案

#1


0  

MoSync is open source, so you have access to all the code. AFAIK all the communications protocols are supported.

MoSync是开源的,因此您可以访问所有代码。 AFAIK支持所有通信协议。

/Tony

/托尼

#1


0  

MoSync is open source, so you have access to all the code. AFAIK all the communications protocols are supported.

MoSync是开源的,因此您可以访问所有代码。 AFAIK支持所有通信协议。

/Tony

/托尼