![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
silly11
慢慢慢慢 就年龄大了
展开
-
Android studio
原文链接:http://www.cnblogs.com/csulennon/p/4178404.html Android Studio 1.0 已经放出来了,以后的Android平台开发激昂逐步从Eclipse向Android Studio迁移,为了能不落伍我也特意从Google下载了Android Studio的安装包,并且兴高采烈地创建了我的第一个android项目。但是当运行的时候转载 2015-06-13 16:33:56 · 443 阅读 · 0 评论 -
android银行卡号输入错乱
因为银行卡号输入域有做处理,每四位一分隔,导致整个银行卡号作为一个字符串做输入时输入的内容会被分隔错乱。android采用pressKeyCode的方式处理,iOS暂未遇到错乱的情况。解决办法:把字母、数字键值及对应的keyCode对应起来,遍历要输入的银行卡号操作对应的keyCode值做操作。def enterText(self, text): key = ['0', '1', '2', ...原创 2018-04-08 15:27:41 · 296 阅读 · 0 评论 -
Android adb常用命令
Android adb常用命令adb是什么 Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device. It is a client-server progra原创 2016-04-18 09:55:31 · 723 阅读 · 0 评论 -
android学习01
控件布局的方法linearLayoutandroid:layout_width="match_parent" android:layout_height="match_parent" 匹配父控件的宽高 wrap_parent android:orientation="vertical"垂直方向布局内边框 边距像素 通常被认为是数字图像的最小单个组件。像素是一个单位;像素是构成数码影像的基本单原创 2016-07-20 22:14:43 · 288 阅读 · 0 评论 -
monkey稳定性测试尝试
Monkeymonkey是通过向系统发送伪随机的用户事件流(如按键输入、触摸屏输入、手势输入等),实现对正在开发的应用程序进行压力测试。 连上设备后 adb shell 进入shell命令可以执行monkey命令 常用设置monkey –p com.wl.wang(包名) –v 1000 次数 -p 不指定包将执行手机上所有应用 指定多个包 –p 包名1 –p 包名2 -v 模拟用户随机事原创 2016-03-10 19:45:06 · 926 阅读 · 0 评论 -
电脑上控制Android手机录制屏幕
最近想演示一个case的执行情况,奈何电脑不能随身带,所以想录制一个视频可以随便带,用手机摄像功能总感觉出来的效果没直接录屏的效果nice,所以在找通过电脑录制手机录屏的方法.找到一个工具Androidscreencast,官网地址:https://code.google.com/p/androidscreencast/ Install the android sdk (download原创 2015-12-25 20:58:13 · 1287 阅读 · 0 评论 -
adb 无线连接设备
usb连上设备后,adb devices可以看到设备信息 adb tcpip 5555 log:restarting in TCP mode port: 5555 然后adb connect 192.168.20.64:5555 connected to 192.168.20.64:5555 就无线连接设备,拔掉usb线可以无线玩了 切回usb: adb usb原创 2015-11-03 14:07:16 · 665 阅读 · 0 评论 -
python ElementTree遍历xml
记录用ElementTree遍历xml的一些方法:读取xml: root = ElementTree.parse(r"/Users/..../Documents/111.xml") root = ElementTree.fromstring(text)遍历:for node in root.iter(): print type(node) 元素标签名 node.tag元素标...原创 2018-04-08 15:31:07 · 4475 阅读 · 0 评论