Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 1.99 KB

CHINESE.md

File metadata and controls

70 lines (51 loc) · 1.99 KB

VA banner

微商双开神器的警告

经过验证发现,微商双开神器将VirtualApp的演示App的界面改为绿色,并添加微信支付(售价28元), 广州市比目网络科技有限公司的这一敛财行为,严重侵害了作者的利益。请在1个月内下架你们的产品。 再次申明,VA可以使用于商业项目中,但这种赤裸裸的敛财行为,是严格禁止的。

关于

VirtualApp是一个App虚拟引擎的完整实现(简称VA)。 VirtualApp允许你在App内创建一个虚拟空间,你可以在虚拟空间内任意的安装启动卸载APK,这一切都与外部隔离,就如同一个沙盒

运行在VA中的APK无需在外部安装,即VA支持免安装运行APK

讨论技术话题

  1. 将你的Host和Plugins需要的所有权限加入到你的AndroidManifest.xml.

  2. 前往你的Application并添加如下代码:

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        try {
            VirtualCore.getCore().startup(base);
        } catch (Throwable e) {
            e.printStackTrace();
        }
    }
  1. For Install a virtual App, use this function:
    VirtualCore.getCore().installApp({APK PATH}, flags);
  1. For Launch a virtual App, use this function:
    VirtualCore.getCore().launchApp({PackageName});
  1. For uninstall a virtual App, use this function:
    VirtualCore.getCore().uninstallApp({PackageName});
  1. If you need to get the details of App, use this function:
    VirtualCore.getCore().findApp({PackageName});

文档

VirtualApp 目前暂时没有文档,Please read the fucking source code。

License

LGPL 3.0

关于Author