Skip to content

Commit 93782c5

Browse files
author
维术
committed
README
1 parent 7aca6e0 commit 93782c5

File tree

1 file changed

+36
-59
lines changed

1 file changed

+36
-59
lines changed

README.md

Lines changed: 36 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,53 @@
1-
[![VA banner](https://raw.githubusercontent.com/asLody/VirtualApp/master/Logo.png)](https://github.com/asLody/VirtualApp)
2-
3-
[中国人猛戳这里](CHINESE.md "中文")
4-
5-
About
1+
简介
62
-----
7-
**VirtualApp** is an open platform for Android that allows you to create a `Virtual Space`,
8-
you can install and run apk inside. Beyond that, VirtualApp is also a `Plugin Framework`,
9-
the plugins running on VirtualApp does not require any constraints.
10-
VirtualApp does **not** require root, it is running on the `local process`.
3+
**VAExposed** 是基于[VirtualApp](https://github.com/asLody/VirtualApp)[epic](https://github.com/tiann/epic)**非ROOT**环境下运行Xposed模块的实现(支持4.0~8.1)。
114

12-
NOTICE
5+
⚠️
136
-------
14-
**This project has been authorized by the business.**
7+
本项目使用的 VirtualApp 不允许用于商业用途,如果有这个需求,请联系 Lody ([email protected])。
158

16-
**You are not allowed to modify the app module and put to the software market, if you do that, The consequences you know :)**
9+
使用
10+
----------
1711

18-
**VirtualApp is not free, If you need to use the lib code, please send email to me :)**
12+
## 准备
1913

20-
Background
21-
----------
14+
首先在 [发布页面](https://github.com/android-hacker/VAExposed/releases) 下载最新的VAExposed安装包安装到手机。
2215

23-
VirtualApp was born in early 2015, Originally, it is just a simple plugin framework,
24-
But as time goes on,
25-
the compatibility of it is getting better and better.
26-
in the end, it evolved into a `Virtual Container`.
16+
## 安装模块
2717

18+
打开VAExposed,在里面安装要使用的APP,以及相应的Xposed模块即可。
2819

29-
Get started
30-
-----------
31-
If you use latest android studio (version 2.0 or above), please disable `Instant Run`.
32-
Open `Setting | Build,Exception,Deployment`, and disable `Enable Instant Run to hot swap...`
33-
34-
**Goto your Application and insert the following code:**
35-
```java
36-
@Override
37-
protected void attachBaseContext(Context base) {
38-
super.attachBaseContext(base);
39-
try {
40-
VirtualCore.get().startup(base);
41-
} catch (Throwable e) {
42-
e.printStackTrace();
43-
}
44-
}
45-
```
46-
47-
**Install a virtual App:**
48-
```java
49-
VirtualCore.get().installPackage({APK PATH}, flags);
50-
51-
```
20+
注意:**所有的工作(安装Xposed模块,安装APP)必须在VAExposed中**进行,否则Xposed模块不会有任何作用!比如,将微信直接安装在系统上(而非VAEXposed中),防撤回安装在VAExposed中;或者把微信安装在VAExposed上,防撤回插件直接安装在系统上;或者两者都直接安装在系统上,**均不会起任何作用**
5221

53-
**Launch a virtual App:**
54-
```java
55-
//VirtualApp support multi-user-mode which can run multiple instances of a same app.
56-
//if you don't need this feature, just set `{userId}` to 0.
57-
Intent intent = VirtualCore.get().getLaunchIntent({PackageName}, {userId});
58-
VActivityManager.get().startActivity(intent, {userId});
59-
```
22+
在VAExposed中安装App有两种方式:
6023

61-
**Uninstall a virtual App:**
62-
```java
63-
VirtualCore.get().uninstallPackage({PackageName});
64-
```
24+
1. 直接复制已经在系统中安装好的APP,比如如果你系统中装了微信,那么刻意直接复制一份。
25+
2. 通过外置存储直接安装APK文件;点主界面的➕,然后选择后面两个TAB即可。
6526

66-
More details, please read the source code of demo app, :-)
27+
在VAExposed中安装Xposed模块,可以跟安装正常的APK一样,以上两种安装App的方式也适用于安装Xposed模块。不过,你也可以通过VAExposed中内置的XposedInstaller来安装和管理模块,跟通常的XposedInstaller使用方式一样;去下载页面,下载安装即可。
6728

68-
Documentation
69-
-------------
7029

71-
VirtualApp currently has **no documentation**, If you are interested in VirtualApp, please send email to me.
30+
已知问题
31+
-----------
7232

73-
About Author
33+
1. 使用部分插件在7.0以上会导致对应的APP黑屏,如QX模块,WX模块。
34+
2. 微信巫师在7.0以上请使用2.5.5版本。
35+
3. 由于暂不支持资源HOOK,部分美化插件无法生效。
36+
4. 部分插件的兼容性有问题,比如上帝模式可以作用在QQ,支付宝上;但无法使用在微信上。
37+
38+
支持和加入
7439
------------
7540

76-
41+
目前VAExposed还不完善,如果你对非ROOT下实现Xposed感兴趣;欢迎加入!你可以通过如下方式来支持:
42+
43+
1. 直接贡献代码,提供Feature,修复BUG!
44+
2. 使用你拥有的手机,安装你常用的Xposed模块,反馈不可用情况;协助帮忙解决兼容性问题!
45+
3. 提出体验上,功能上的建议,帮助完善VAExposed!
46+
47+
致谢
48+
------
49+
50+
1. [VirtualApp](https://github.com/asLody/VirtualApp)
51+
2. [Xposed](https://github.com/rovo89/Xposed)
52+
53+

0 commit comments

Comments
 (0)