Android adb 命令学习笔记

    C:\Documents and Settings\Administrator>adb shell  
    root@NX403A:/ # input  
    input  
    Usage: input [<source>] <command> [<arg>...]  
      
    The sources are:  
          trackball  
          joystick  
          touchnavigation  
          mouse  
          keyboard  
          gamepad  
          touchpad  
          dpad  
          stylus  
          touchscreen  
      
    The commands and default sources are:  
          text <string> (Default: touchscreen)  
          keyevent [--longpress] <key code number or name> ... (Default: keyboard)  
          tap <x> <y> (Default: touchscreen)  
          swipe <x1> <y1> <x2> <y2> [duration(ms)] (Default: touchscreen)  
          press (Default: trackball)  
          roll <dx> <dy> (Default: trackball)  

 

posted @ 2017-09-28 15:02  zhanghaihui  阅读(172)  评论(0编辑  收藏  举报