摘要: 关于Http 的method:GETAsks to get the thing (resource / file) at the requested URL.POSTAsks the server to accept the body info attached to the request, an... 阅读全文
posted @ 2014-07-01 17:09 有个二货 阅读(118) 评论(0) 推荐(0) 编辑
摘要: A monkeyrunner class that represents a device or emulator accessible by the workstation running monkeyrunner.monkeyrunner类代表了能被工作站运行monkeyrunner连接的设备或... 阅读全文
posted @ 2014-05-27 17:20 有个二货 阅读(246) 评论(0) 推荐(0) 编辑
摘要: A monkeyrunner class that contains static utility methods.一个包含静态工具方法的类.Public Methodsstring alert ( string message, string title, string okTitle) Dis... 阅读全文
posted @ 2014-05-26 18:19 有个二货 阅读(127) 评论(0) 推荐(0) 编辑
摘要: A monkeyrunner class to hold an image of the device or emulator's screen. The image is copied from the screen buffer during a screenshot. This object'... 阅读全文
posted @ 2014-05-26 17:02 有个二货 阅读(150) 评论(0) 推荐(0) 编辑
摘要: cmd进入命令终端,执行 aapt dump badgingyour.apk 阅读全文
posted @ 2014-05-26 13:11 有个二货 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Running monkeyrunnerYou can either run monkeyrunner programs from a file, or enter monkeyrunner statements in an interactive session. You do both by i... 阅读全文
posted @ 2014-05-22 19:32 有个二货 阅读(230) 评论(0) 推荐(0) 编辑
摘要: A Simple monkeyrunner ProgramHere is a simple monkeyrunner program that connects to a device, creating aMonkeyDeviceobject. Using theMonkeyDeviceobjec... 阅读全文
posted @ 2014-05-22 10:29 有个二货 阅读(130) 评论(0) 推荐(0) 编辑
摘要: monkeyrunnerThe monkeyrunner tool provides an API for writing programs that control an Android device or emulator from outside of Android code. With m... 阅读全文
posted @ 2014-05-21 18:29 有个二货 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Testing FundamentalsThe Android testing framework, an integral part of the development environment, provides an architecture and powerful tools that h... 阅读全文
posted @ 2014-05-20 18:54 有个二货 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1 fname = raw_input("enter filename:") 2 print 3 4 try: 5 fobj = open (fname, 'r') 6 except IOError ,e: 7 #except IOError ,e: 和上一行意思一样,猜测应该是as和,有一样的作用 8 print "*** file open error:", e 9 else:10 for eachline in fobj:11 print eachline12 fname.close() 阅读全文
posted @ 2014-04-10 15:13 有个二货 阅读(89) 评论(0) 推荐(0) 编辑