Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2108568
  • 博文数量: 413
  • 博客积分: 10926
  • 博客等级: 上将
  • 技术积分: 3862
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-09 18:14
文章分类

全部博文(413)

文章存档

2015年(5)

2014年(1)

2013年(5)

2012年(6)

2011年(138)

2010年(85)

2009年(42)

2008年(46)

2007年(26)

2006年(59)

分类:

2011-01-25 10:31:38

  1. Docs
    1. xxx
  2. Test Tools
    • Monkey
      (Ref http://developer.android.com/guide/developing/tools/monkey.html)
      The Monkey is a program that runs on your emulator or device and generates pseudo-random streams of user events such as clicks, touches, or gestures, as well as a number of system-level events.

      You can use the Monkey to stress-test applications that you are developing, in a random yet repeatable manner.
    • Power consumption test
      • Power Tutor

      • xxx
    • Memory
      • View Memory Usage
        http://blogold.chinaunix.net/u/9577/showart_2210141.html
      • xxx
    • Dump system info
      • adb shell dumpsys [service]
        You can dump power, memory info, cpu info, netstat, etc. If you want to dump system info of all service, just execute
        $adb shell dumpsys
        while if you only want to dump system info of the specific servie, just execute
        $adb shell dupmsys power
    • Instrumentation
      (Ref: http://developer.android.com/reference/android/app/Instrumentation.html)
      This class will be instantiated for you before any of the application code, allowing you to monitor all of the interaction the system has with the application.

      An Instrumentation implementation is described to the system through an AndroidManifest.xml's tag.
    • StrictMode
      (Ref: http://developer.android.com/reference/android/os/StrictMode.html)
      StrictMode is a developer tool which detects things:
      • Detect when an Closeable or other object with a explict termination method is finalized without having been closed.
      • Detect when an SQLiteCursor or other SQLite object is finalized
      • without having been closed
      • Enable detection of disk reads.
      • Enable detection of disk writes.
      • Enable detection of network operations.
      • ......
    • xxx
    • xxx
  3. xxx
阅读(808) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~