VirtualAPK/README.md At Master · Didi/VirtualAPK · GitHub

Android 9.0 supported! Please use the lastest release.


VirtualAPK is a powerful yet lightweight plugin framework for Android. It can dynamically load and run an APK file (we call it LoadedPlugin) seamlessly as an installed application. Developers can use any Class, Resources, Activity, Service, Receiver and Provider in LoadedPlugin as if they are registered in app's manifest file.


Supported Features


Getting started


Host Project


Add a dependency in build.gradle in root of host project as following.


Compile VirtualAPK in application module of build.gradle.


Initialize PluginManager in YourApplication::attachBaseContext().


Modify proguard rules to keep VirtualAPK related files.


Finally, load an APK and have fun!


Plugin Project


Add a dependency in build.gradle in root of plugin project as following.


Apply plugin in application module of build.gradle.


Config VirtualAPK. Remember to put following lines at the end of build.gradle.


Developer guide


- API document wiki
- Sample project PluginDemo
- Read core library source code
- Read Release notes


Known issues


- Notifications with custom layout are not supported in plugin.
- Transition animations with animation resources are not supported in plugin.


Contributing


Welcome to contribute by creating issues or sending pull requests. See Contributing Guide for guidelines.


Who is using VirtualAPK?


License


VirtualAPK is licensed under the Apache License 2.0. See the LICENSE file.


Comments

Popular posts from this blog

Dominations Mod Apk V9.970.971 (Unlimited Gold + Food + Oil)

Pocket Tanks Deluxe Apk V2.6.0 Free For Android (Mod + Unlocked)

Hay Day Mod Apk (Unlimited Coins + Gems + Seeds) Latest Version