avs333 / Nougat_dlfunctions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A hack for loading system libraries in Android Nougat where dlopen() has been disabled by some wise guys.
A sample app (written entirely in C) using the famous Freetype2 library to render character strings is included as well as a trivial example explaining how to deal with Android C++ classes.
The main file "jni/fake_dlfcn.c" is intended for arm and aarch64 only but should be easily portable to other architectures as well.
To install, first edit the paths in "local.properties", then run "ant debug" and install the apk from the "bin/" directory to your device.
And yes, it's under MIT License.

About


Languages

Language:C 89.3%Language:C++ 10.7%Language:Makefile 0.1%