android 可以在本机模式下从 sdcard 加载 dll
我想把我写的程序移植到android上。该程序是在 Windows 和 Linux 上用 C++ 编写的。该程序使用 dll 作为插件架构。通过下载程序从特定文件夹加载的 dll,可以将新插件添加到程序中。 我的问题是... 是否可以将为 android 构建的 dll 下载到 sdcard 上的目录,然后从本机代码加载并使用这些 dll
I want to port a program I wrote to android. The program is in c++ on windows and linux. The program uses dll's for a plugin architecture. New plugins can be added to the program by downloading a dll which the program loads from a specific folder.
My question is...
Is it possible to download dlls built for android to a directory on the sdcard then from native code load and use those dll's
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为不是,外部存储是用选项 noexec 挂载的。您可以从应用的私有目录加载库。
I think not, external storage is mounted with option noexec. You can load libraries from app's private directory.