You can use the monkey tool via adb to send programmatic UI events.

On Sep 15, 7:58 pm, saex <elpablos...@gmail.com> wrote:
> Hi
>
> i want to simulate a KEY_UP press on my phone.. but programatically
>
> can someone tell me the code of a function that can do this?
>
> i found some functions searching onwww.google.combut all of them are
> obsolete...
>
> thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to