在做自动化测试的过程中,必填的参数中就有 packagename和启动activity的信息 获取package name的方法就是: adb shell pm list package 会打印手机里的所有包 获取启动activity的方法: 1. 通过adb logcat. adb logcat ...
分类:
移动开发 时间:
2020-06-01 14:05:30
阅读次数:
90
一、创建头文件pcf8591.h代码如下: #ifndef __FPC8591_H_ #define __FPC8591_H_ #include <reg52.h> void init_pcf8591(void); //pcf8591初始化 unsigned char adc_pcf8591(voi ...
分类:
其他好文 时间:
2020-06-01 12:06:29
阅读次数:
129
参考:https://www.bilibili.com/video/BV1yW411B7iv?t=5297 事前的准备: adb驱动 手机调到开发者模式,开启USB调试 pycharm 原理 1.获取手机截图 2.点击起点,终点 3.获取坐标 4.算出距离 5.算出按压时间 6.按压松开指令 7.更 ...
分类:
编程语言 时间:
2020-05-31 15:49:59
阅读次数:
68
0. 实验设备是寨板 mt6797,以下教程应该适合一堆新旧板子 1. https://github.com/bgcngm/mtk-tools 2. perl 自行准备 3. ffmpeg 也自行准备 4. adb & fastboot 应该都有 Tip: 与之前得rgb565不同得是....新机型 ...
分类:
其他好文 时间:
2020-05-31 10:52:33
阅读次数:
150
一、网络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 ...
分类:
数据库 时间:
2020-05-30 19:47:37
阅读次数:
80
找到夜神模拟器的安装位置,我的安装目录是?D:\Program Files (x86)\Nox\bin, 通过CMD命令进入此路径,执行如下命令nox_adb.exe connect 127.0.0.1:62001 点击vs code,打开Flutter项目,选择模拟器, 效果如下 ...
分类:
其他好文 时间:
2020-05-30 16:00:10
阅读次数:
574
adb命令:官方参考网址:https://developer.android.google.cn/studio/command-line/adb?hl=zh-cn#-t-option 1、adb shell dumpsys meminfo 包名.apk ——查看指定包名应用内存使用情况 adb sh ...
分类:
数据库 时间:
2020-05-30 15:40:22
阅读次数:
104
adb命令使用 adb shell input keyevent XX(EventCode) #输入对应的键值 adb shell input text "www.baidu.com" #向浏览器发送文本 EventCodeKeyEventEventName 0 KEYCODE_UNKNOWN 未知 ...
分类:
移动开发 时间:
2020-05-29 23:04:03
阅读次数:
84
CentOS7下修改mariadb数据库文件的路径mariadb默认的数据文档存储目录为/var/lib/mysql,要想将默认创建目录改成/Exdisk/MysqlStep1:创建新文件夹(要给这个目录至少要附加读写权限)[root@YunDiskExdisk]#mkdirMysql[root@YunDiskExdisk]#chmod775MysqlStep2:停止数据库[root@YunDis
分类:
数据库 时间:
2020-05-28 12:53:38
阅读次数:
106
An unknown server-side error occurred while processing the command. Original error: An unknown server-side error occurred while processing the command ...
分类:
移动开发 时间:
2020-05-27 12:15:28
阅读次数:
116