一、网络adb
1.1、device\rockchip\common\init.rk30board.rc
# for Internet adb
on property:netadb.status=true
setprop service.adb.tcp.port 5555
restart adbd
# for Internet adb
on property:netadb.status=false
setprop service.adb.tcp.port 0
restart adbd
1.2、连接
adb connect 192.168.1.1:5555adb disconnect192.168.1.1
切回usb模式 adb usb
三、仙逆
3.1、AndroidMainfest.xml
3.2、activity_main.xml
3.3、MainActivity.java
packagecom.gatsby.zebra;importandroid.app.Activity;importandroid.content.Intent;importcom.android.xhapimanager.XHApiManager;importandroid.os.Bundle;importandroid.view.View;importandroid.view.View.OnClickListener;importandroid.widget.Button;importandroid.widget.TextView;public class MainActivity extends Activity implementsOnClickListener {private String TAG = "Gatsby";
XHApiManager apim