nevermind, I already solved it throw Instrumentation::sendKeyDownUpSync (int keyCode);
On Aug 24, 2:42 pm, petter <havlenap...@gmail.com> wrote: > Hi, > I' d like to fire up onKeyDown() event from my source code (for > example from Activity). I want it, because i'd like to create program > for remote keyboard, which will be PC keyboard. PC will send to mobile > throw Socket message and mobile will fire up event from message in > socket. Message will contain pressed key on PC keyboard. In future i'd > like to create service, which will be starting on device power on . > > thanks for reply --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---