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 <[email protected]> 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 <[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---

