使用Android应用程序的dll库 [英] using dll library in android application

查看:158
本文介绍了使用Android应用程序的dll库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个DLL的C#库,并希望通过我的Andr​​oid应用程序,使用它,我设法通过Java运行它,但它并没有通过Android的工作,我使用的方法,提高了异常描述的here ,但我通过搜索了这种方式不会与Android的工作中发现,我也发现了很多关于这个问题的问题,但没有得到任何合适的答案(如此处, <一href="http://stackoverflow.com/questions/5445127/using-a-dll-with-c-interface-in-java-for-android">here, ...等),所以,我只想要一个明确的答案,可我还是不能?如果我可以用身边的任何工作,如何?

I have a dll C# Libraries and want to use it through my android app, I managed to run it through java but it didn't work through android, the way I used and the Exception raised is described here, but I found through searching that this way won't work with android, also I found a lot of questions about that issue but didn't got any suitable answer (e.g here, here, ...etc), So, I just want a clear answer, can I or can't? and if I can using any work around, How ?

推荐答案

动态链接库(也写作unhyphenated),或DLL,是微软实现在Microsoft Windows的共享库的概念

Dynamic-link library (also written unhyphenated), or DLL, is Microsoft's implementation of the shared library concept in the Microsoft Windows

Android是一个手机操作系统(OS)基于Linux内核,目前由谷歌开发的。

Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google.

所以,不,你不能。 Teoretically某种虚拟机,还是 - 没有

So no, you cant. Teoretically in some kind of VM, still - no.

这篇关于使用Android应用程序的dll库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆