随笔分类 -  工具

摘要:1.monkeyrunner脚本:from com.android.monkeyrunner import MonkeyRunner,MonkeyDeviceimport sysimport timeimport os# add action herekey_map = {'d':[lambda x,y:sendKey(x, y), 'KEYCODE_ENTER'], 'e':[lambda x,y:sendKey(x, y), 'KEYCODE_DPAD_UP'], 'c':[lambda x,y:sendKey 阅读全文
posted @ 2013-11-01 15:56 登山者 阅读(364) 评论(0) 推荐(0)
摘要:使用ubuntu系统,工具选择为firefox的插件 scribefire next 和blogilo。1.scribefire nextscribefire next的配置和使用比较简单。 a.进入插件地址 https://addons.mozilla.org/en-US/firefox/addon/scribefire-next/ b.安装好后打开scribefire next , 点击“添加新博客", 在URL中添加博客地址, 格式是 http://用户名称.cnblogs.com/,点下一步,接着输入用户名和密码就要OK了。 c.接下来就可以写博客了。 优点是支持markdo 阅读全文
posted @ 2013-03-17 10:56 登山者 阅读(281) 评论(0) 推荐(0)
摘要:#!/home/arcticant/android-sdks/tools/monkeyrunnerfrom com.android.monkeyrunner import MonkeyRunner, MonkeyDevice"""enter Ctrl+c to end"""def androidshot(): #set the interval between two screenshot sleeptime = 3 #connect device print "start ..." device = Monkey 阅读全文
posted @ 2012-11-16 14:46 登山者 阅读(304) 评论(0) 推荐(0)