Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AndroidSXK/PhoneController

Repository files navigation

usage:

  1. app/src/main/res/raw目录下有两个文件,全部拷贝出来放到电脑上的一个目录

  2. 编译好的apk(命名为app-release.apk)也放入上面的目录,运行run_server.cmd。脚本内容如下:

@echo off
for /f %%i in ('adb shell "ls /data/app/cn.iotguard.phonecontroller-1/base.apk"') do set result=%%i
if "%result:~-1%" == ":" (
	adb install app-release.apk
)
adb forward tcp:56789 tcp:56789
adb shell "export CLASSPATH=/data/app/cn.iotguard.phonecontroller-1/base.apk;exec app_process /system/bin cn.iotguard.phonecontroller.Main"

做的事情很简单,如果手机上没有安装该apk则安装,然后进行了端口映射,最后启动服务程序。

  1. 打开viewer.html即可浏览。

About

模仿Vysor

Resources

Stars

Watchers

Forks

Packages

Contributors

Languages

  • Java 68.0%
  • HTML 29.7%
  • Batchfile 2.3%

AltStyle によって変換されたページ (->オリジナル) /