I tried to use
*device.press('KEYCODE_POWER', 'down')*
but this works for long press on power button.
Thanks,
On Sat, Feb 26, 2011 at 4:01 PM, Andya <[email protected]> wrote:
> Hello guys,
>
> Any help on how to simulate short key press on Power button using
> MonkeyRunner?
>
> I am using the following code but to no avail
>
> device.press('KEYCODE_POWER','DOWN')
>
> Really appreciate!!!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" 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-developers?hl=en
--
Thanks and Regards
Aniruddha Dhamal
[email protected]
" No matter which direction you start
Its always against the wind coming back "
--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en