http://www.cnblogs.com/cute/archive/2011/08/30/2159305.html
http://blog.youkuaiyun.com/neiloid/article/details/7893755
http://ishare.iask.sina.com.cn/f/34511384.html
http://www.kernel.org/doc/Documentation/input/
http://blog.chinaunix.net/uid-15059847-id-112043.html
滑动
http://blog.youkuaiyun.com/sada09/article/details/8107731
Instrumentation发送键盘鼠标事件:Instrumentation提供了丰富的以send开头的函数接口来实现模拟键盘鼠标,如下所述:
sendCharacterSync(int keyCode) //用于发送指定KeyCode的按键
sendKeyDownUpSync(int key) //用于发送指定KeyCode的按键
sendPointerSync(MotionEvent event) //用于模拟Touch
sendStringSync(String text) //用于发送字符串
注意:以上函数必须通过Message的形式抛到Message队列中。如果直接进行调用加会导致程序崩溃。
http://blog.chinaunix.net/uid-8210028-id-3263908.html