How to generate monkeyrunner build-in help?
2011-04-22 16:47
357 查看
The below script is tested OK on Windows XP
Step1. cmd -> cd C:/android-sdk-windows/tools
Step2. monkeyrunner monkeyrunner_api_ref.py
Step3. Find it monkeyrunner_api_ref.txt in ./tools
Step3. Find it monkeyrunner_api_ref.txt in ./tools
Python代码
#!/usr/bin/env python
from
com.android.monkeyrunner
import
MonkeyRunner
file_ref = open('./monkeyrunner_api_ref.txt'
,
'w'
)
print
>> file_ref, MonkeyRunner.help()
Step1. cmd -> cd C:/android-sdk-windows/tools
Step2. monkeyrunner monkeyrunner_api_ref.py
Step3. Find it monkeyrunner_api_ref.txt in ./tools
Step3. Find it monkeyrunner_api_ref.txt in ./tools
Python代码
#!/usr/bin/env python
from
com.android.monkeyrunner
import
MonkeyRunner
file_ref = open('./monkeyrunner_api_ref.txt'
,
'w'
)
>> file_ref, MonkeyRunner.help()
#!/usr/bin/env python from com.android.monkeyrunner import MonkeyRunner file_ref = open('./monkeyrunner_api_ref.txt','w') print >> file_ref, MonkeyRunner.help()
相关文章推荐
- [Monkeyrunner]How to generate monkeyrunner build-in help?
- How to build the environment of XPCOM in Windows XP
- How to build tab sets whitch headers display at bottom in WPF?
- How to manually generate a Heapdump in WebSphere on Windows
- How to generate FLEXIcontent SEF URLs in custom code
- [转]how to use both JDK 7 and JDK 8 in one build
- (极力推荐)BW:How to load and generate a custom hierarchy in SAP Business Warehouse (SAP BW) without using flat files
- How to build intermediate classes.jar in android N
- How to generate HMAC-SHA1 in C#?
- how to build a cgal program in qt under ubuntu
- How to generate file name according to datetime in bat command
- How to Build Aggregate/Composite Components in Delphi
- How to generate a random alpha-numeric string in java
- How to generate gcc debug symbol outside the build target?
- How to generate gcc debug symbol outside the build target?
- How to build mex file directly in Visual Studio 2010?
- How to build an OLE DB application for SQL Server CE in Visual Studio 2005
- How to generate a log file in VC++ or Embedded VC++ (For Pocket PC or WinCE devices)
- How to build & install GLFW 3 and use it in a Linux project