2011年9月3日

連結:APK Piracy: Using private code & resources in Android


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.
( 閱讀全文... ):

沒有留言: