Hi I'm using the latest Android SDK and trying to use its touch-screen events commands.
To do so, I've created the emulators based on 2.2, 2.1 and 1.6 versions (I've tried all of them). I've started the emulator and opening the "Android main menu -> Dev Tools -> Pointer Location" to see the pressures, then opening the console interface via "telnet localhost 5554", and then sending the commands (see below). As far as I understand these commands should simulate the following scenario: Starting to press at the 100/110 position, the drag to the 116/126, and then stopping to press at the 116/126 position Nothing has happened on all three all platforms :-(. Please note - Most other commands I've tried works fine (such as up/ down letters, enter, escape etc), only the touch events doesn't work for me ;-(. Could you please help me to understand what is wrong there? Thanks in advance Yossi BTW - I've find same example here http://markmail.org/search?q=Sending+events+to+the+emulator#query:Sending%20events%20to%20the%20emulator+page:1+mid:2qd45nqhos37lbu5+state:results I've tried to work in two different modes, and here are the commands. Line by line event send EV_ABS:ABS_X:100 EV_ABS:ABS_Y:110 EV_ABS:ABS_PRESSURE:1 EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:100 EV_ABS:ABS_Y:110 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:102 EV_ABS:ABS_Y:112 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:104 EV_ABS:ABS_Y:114 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:106 EV_ABS:ABS_Y:116 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:108 EV_ABS:ABS_Y:118 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:110 EV_ABS:ABS_Y:120 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:112 EV_ABS:ABS_Y:122 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:114 EV_ABS:ABS_Y:124 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:116 EV_ABS:ABS_Y:126 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 event send EV_ABS:ABS_X:116 EV_ABS:ABS_Y:126 EV_ABS:ABS_PRESSURE:0 EV_KEY:BTN_TOUCH:0 EV_SYN:SYN_REPORT:0 As a single command event send EV_ABS:ABS_X:100 EV_ABS:ABS_Y:110 EV_ABS:ABS_PRESSURE:1 EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:100 EV_ABS:ABS_Y: 110 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:102 EV_ABS:ABS_Y:112 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:104 EV_ABS:ABS_Y:114 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:106 EV_ABS:ABS_Y:116 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:108 EV_ABS:ABS_Y:118 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:110 EV_ABS:ABS_Y:120 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:112 EV_ABS:ABS_Y:122 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:114 EV_ABS:ABS_Y:124 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:116 EV_ABS:ABS_Y:126 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:116 EV_ABS:ABS_Y:126 EV_ABS:ABS_PRESSURE:0 EV_KEY:BTN_TOUCH:0 EV_SYN:SYN_REPORT:0 -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
