by jo.se/f pfleger
Did you know that the Android SDK makes it relatively easy to load code and resources from other apks into your own application? One way is to use a
PathClassLoader
and point it to an arbitrary APK:new PathClassLoader("/system/app/Mms.apk", getClassLoader());
Another way is to use
( 閱讀全文... ):
createPackageContext
and use that context's ClassLoader
to instantiate objects and load referenced resources.( 閱讀全文... ):
沒有留言:
張貼留言