> [...] is pressed (let's say) 3 consecutive times You could do it in 2 clicks only:
- Press Home. - Press your activity icon for which you prepared a shortcut. :-) I don't think there is a general way to do what you want with arbitrary keys in any application. Another option would be to have a notification in the notification bar (1 slide, 1 click and your activity can be launched). Peli www.openintents.org www.openintents.biz On Jan 8, 9:03 pm, Massimo Barbera <massimobarb...@gmail.com> wrote: > Hi all, > I wonder if there is anyway to do the following: > > call my activity when a certain sequence of keys is pressed, > disregarding the application ongoing in foreground > > this shall be something similar to a shortcut but I wasn't able to > find a way to do that > > for being more precise I was thinking to call my activity when central > keys is pressed (let's say) 3 consecutive times quickly > > any chance to do that? > > thanks in advance and... happy new year! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---