There is no application API, since it would be a big security hole.
If you are working on your own hardware, though, you can simply
enqueue low-level linux events, which the system will then receive as
a normal input event.  Unfortunately I can't give you any code off-
hand to do this, but it is a standard part of Linux, so you should be
able to find material around on the web.

On Jun 17, 3:57 am, renegade <[EMAIL PROTECTED]> wrote:
> Hey,
> Does anyone know how to send key event to some other activity (known
> by package name, class name or task id).
> I have to simulate keyboard on my keyboard-less hardware...
>
> Any ideas?
> Thanks for help.
>
> Regards!
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to