Check this link out:
http://qatesttech.wordpress.com/2012/06/20/adb-shell-sendevent-sending-touch-like-events/
On Friday, April 17, 2009 4:23:45 PM UTC+5:30, klausfpga wrote:
>
> Hi Dianna,
>
>
> Thanks for your reply.
>
> In fact my problems are in fact even more basic.
>
> The command 'sendev
Hi Dianna,
Thanks for your reply.
In fact my problems are in fact even more basic.
The command 'sendevent'
requires following parameters
device
type
code
value
How do I have to specify all these parameters.
Let's take for example the emulator and let's assume I'd like to press
the 'down' key
The codes you send through the driver are the raw events, before they have
been translated to Android key codes, so it depends on your hardware.
You'll want to look at the source code of whatever build you are using --
there will be a *.kl file somewhere mapping from the driver codes to android
cod
Hi searup.
I have one more question.
As a newbie I have still the basic problem of locating the document
ation, that I need for some tasks.
Which document(s) / url list(s) the possible devices / types / key-
codes key-values ?
thanks a lot in advance.
On Apr 16, 2:46 pm, swarup wrote:
> try
>
try
$ adb shell sendevent ; adb
shell sleep 1 #seconds; adb shell sendevent
above is for 1 second long press
On Apr 14, 11:46 pm, Dan Raaka wrote:
> I am using this a work-around for the non-working home key in the 1.0
> or 1.1 emulator.
> If there is fix for it. That would
I am using this a work-around for the non-working home key in the 1.0
or 1.1 emulator.
If there is fix for it. That would work for me as well.
On Apr 14, 11:23 am, Dan Raaka wrote:
> Is there a keycode to inject long home key press into a device via adb
> like below ?
>
> $ adb shell input keyev
6 matches
Mail list logo