安卓模拟器ios版下载(ios可用的安卓模拟器)

在雷电论坛上看到很多adb命令,不过并没有针对安卓按键进行处理,这里我做了一下测试,把能用在安卓按键上的adb命令整理出来。shanhai.Execute("setpropcall.keyboardback")//keypressshanhai.Execute("setpropcall.rebootcom.tencent.mm")//重启模拟器,启动指定包名s

在雷电论坛上看到很多adb命令,不过并没有针对安卓按键进行处理,这里我做了一下测试,把能用在安卓按键上的adb命令整理出来。

shanhai.Execute ("setprop call.keyboard back") //keypress
shanhai.Execute ("setprop call.reboot com.tencent.mm")  //重启模拟器,启动指定包名
shanhai.Execute ("setprop call.input 文字") //输入文字,支持中文
shanhai.Execute ("setprop call.network offline")  //断网  按键助手会断开
shanhai.Execute ("setprop call.network connect")  //联网
shanhai.Execute ("setprop call.shake null")  //摇一摇 测试微信可用
shanhai.Execute ("setprop call.locate 117,29") //修改定位
shanhai.Execute ("am start -n com.tencent.mm/.ui.LauncherUI") //打开包名组件
shanhai.Execute ("am force-stop com.tencent.mm") //关闭软件 包名
shanhai.Execute ("input text 123") //输入文字 不支持中文
shanhai.Execute ("input tap 119 203") //点击坐标
shanhai.Execute ("screencap -p /sdcard/pictures/screencap.png") //截屏
shanhai.Execute ("setprop phone.imei 865166023949731") //修改imei测试无效果,只针对getprop有效
TracePrint shanhai.Execute ("getprop phone.imei") //获取imei
shanhai.Execute ("setprop phone.imsi 460000000000000") //imsi 有效
TracePrint shanhai.Execute ("getprop phone.imsi")  //获取imsi
shanhai.Execute ("setprop phone.simserial 89860000000000000000") //修改sim卡id号
TracePrint shanhai.Execute ("getprop phone.simserial")  //获取手机SIM卡id
shanhai.Execute ("setprop phone.linenum 13800000000") //设置手机号(重启后自动回复原来的)
traceprint shanhai.Execute ("getprop phone.linenum")  //获取手机号
shanhai.Execute ("setprop ro.product.manufacturer iPhone") //设置手机品牌 (重启后自动回复原来的)
TracePrint shanhai.Execute ("getprop ro.product.manufacturer") //获取手机品牌
shanhai.Execute ("setprop ro.product.model iPhone12") //设置手机型号 (重启后自动回复原来的)
TracePrint shanhai.Execute ("getprop ro.product.model") //获取手机型号
shanhai.Execute ("pm install /sdcard/pictures/com.chiachiplee_1.apk") //安装app install 安装包路径
shanhai.Execute ("pm uninstall com.chiachiplee") //卸载APP uninstall 包名
shanhai.Execute ("pm clear com.chiachiplee")  //清除指定app 数据
TracePrint shanhai.Execute ("pm path com.tencent.mm") //获取包名对应的APK路径
TracePrint shanhai.Execute ("pm list packages") //获取所有包名
TracePrint shanhai.Execute ("pm list packages -f") //获取模拟器所有包名并且包括APK路径
TracePrint shanhai.Execute ("getprop phone.androidid") //获取安卓id
TracePrint shanhai.Execute ("getprop ro.build.date.utc") //获取时间戳
TracePrint shanhai.Execute ("getprop ro.build.date") //获取日期
TracePrint shanhai.Execute ("getprop keyguard.no_require_sim") //获取sim卡1的状态

好了内容就这些,

创业项目群,学习操作 18个小项目,添加 微信:niuben22  备注:小项目

本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 sumchina520@foxmail.com 举报,一经查实,本站将立刻删除。
如若转载,请注明出处:https://www.35chat.cn/58368.html