Hi,
I'm looking for a code that can replace the following code since its no more
existing:
/** This function actually handles the KeyStroke-Injection. */
private void doInjectKeyEvent(KeyEvent kEvent) {
try {
/* Inject the KeyEvent to the Window-Manager. */
windowManager.injectKeyEvent(kEvent.isDown(),
kEvent.getKeyCode(),
kEvent.getRepeatCount(), kEvent.getDownTime(), kEvent
.getEventTime(), true);
} catch (DeadObjectException e) {
e.printStackTrace();
}
}
if u have a pieces of code that doing so I'll be glad to get it....
10x
Yorgen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---