android 可以在本机模式下从 sdcard 加载 dll

发布于 2024-09-07 17:38:33 字数 178 浏览 4 评论 0原文

我想把我写的程序移植到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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

箹锭⒈辈孓 2024-09-14 17:38:33

我认为不是,外部存储是用选项 noexec 挂载的。您可以从应用的私有目录加载库。

I think not, external storage is mounted with option noexec. You can load libraries from app's private directory.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文