can android load dll's from sdcard in native mode

孤街醉人 提交于 2019-12-22 06:22:33

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/3170619/can-android-load-dlls-from-sdcard-in-native-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!