[android-developers] Re: Send combination key events
Thanks for your help Marco, I tried exactly the same way but it doesn't work. It brings me search box of google and put e in it, instead of launching email using 'search + e' shortcut. On May 11, 2:43 pm, Marco Nelissen wrote: > Use Instrumentation.sendKeySync() to send the key-down and key-up events > yourself, e.g. search-down, e-down, e-up, search-up. > This should be interpreted by the application in the same way as pressing > search+e on the keyboard. > > On Mon, May 11, 2009 at 2:32 PM, Kai Hu wrote: > > > Hi there, > > > I am sending key events using sendKeys() but how could I send > > combination keys, like "Search + e" ? Anyone could help me on the > > issue? > > > Thanks. > > K > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Send combination key events
Hi there, I am sending key events using sendKeys() but how could I send combination keys, like "Search + e" ? Anyone could help me on the issue? Thanks. K --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] KeyEvent.KEYCODE_ENDCALL doesn't work
Hi there, I am doing an experimental project and I found I couldn't make KeyEvent.KEYCODE_ENDCALL work for me. I could inject KeyEvent.KEYCODE_CALL, KeyEvent.KEYCODE_DPAD_CENTER and so on, but not for KeyEvent.KEYCODE_ENDCALL. Anybody could help me on that? Thanks for your time. Thanks, Kai --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Anyway to bypass permission checking
Thanks for your comment, Mark. On May 7, 10:20 am, "Mark Murphy" wrote: > > I am doing an experimental project and want to send key events from > > one application to another. I know android doesn't allow applications > > to interfere each other in this way due to security concern. Is there > > any way i could bypass the security check? > > At the level of the SDK, I sure hope not. > > > I've looked into the > > WindowManagerService class and made some modifications but it seems > > not working for me. Anybody could help me? > > Questions regarding modifying the Android firmware are best asked on a > discussion list pertaining to the Android firmware: > > http://source.android.com/discuss > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Anyway to bypass permission checking
Hi there, I am doing an experimental project and want to send key events from one application to another. I know android doesn't allow applications to interfere each other in this way due to security concern. Is there any way i could bypass the security check? I've looked into the WindowManagerService class and made some modifications but it seems not working for me. Anybody could help me? Thanks for your time. - Kai --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---