Ez XHelper
Properties
Add module assets path to appContext for using module resources directly.
Hooked application context. Notice: May cause NullPointerException if the AndroidAppHelper.currentApplication return null Because of you used the appContext too early.
Nullable version of appContext.
Class loader for doing reflection. Will auto initialized when initHandleLoadPackage invoked.
Package name of hooked application. Will auto initialized when initHandleLoadPackage invoked.
Module path. Will auto initialized when initZygote invoked.
Module resources. Will auto initialized when initZygote invoked.
Safe class loader for doing reflection, will use system class loader instead if classLoader is not initialized.
Functions
Add module path to target Context.resources. Allow directly use module resources with R.xx.xxx.
Enable the exception message when Finders cannot find the target object.
Initialize the application context. Recommended invoke this after Application.onCreate.
You need invoke this function at first in IXposedHookLoadPackage.handleLoadPackage.
You need invoke this function at first in IXposedHookZygoteInit.initZygote. If you want to use module resources.
Set current logger toast tag. If not set will not show the prefix.