Skip to content

Commit 5912848

Browse files
Update README.md
1 parent f0e923d commit 5912848

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
### 免root兼容所有Android版本屏幕共享及远程控制。
2+
###
33
### 效果
44
![demo](https://github.com/android-notes/androidScreenShareAndControl/blob/master/demo.gif?raw=true)
55
### 使用方式
@@ -45,7 +45,7 @@ MGJwanjian:~ wanjian$ adb forward tcp:8888 localabstract:puppet-ver1
4545

4646

4747

48-
### 屏幕共享原理
48+
### 原理
4949

5050
原理和Vysor相同,Android提供了两个截屏方法Surface. screenshot和SurfaceControl. screenshot,
5151
这两个API是隐藏的,客户端没有权限调用,即使通过反射也得不到bitmap,我们可以使用adb命令
@@ -82,7 +82,7 @@ public class Main{
8282

8383
这样就可以调用到Main.main方法
8484

85-
### 远程控制原理
85+
### 控制原理
8686

8787
* PC端获取点击位置相对于当前显示窗口的比例
8888
* 把该比例发送给手机端

0 commit comments

Comments
 (0)