On Mon, May 4, 2009 at 1:02 PM, Taísa Cristina <taisa.san...@gmail.com>wrote:
> > Hi all, > > I have the following scenario: > > - a main task and a secondary task > - the secondary task has only one Activity > - when that Activity is paused (e.g. Home key pressed), a notification is > inserted to the Notification Bar, so that the user can go back to it (such > as voice call does) > > My problem is: I need the paused Activity to receive key events. > 1) Is that possible? > 2) If so, how? (I have already tried setting "takeKeyEvents(true)", but > whenever I press a key, the "Bookmarks" activity comes to the foreground) So you want your paused activity to receive keys instead of the active foreground activity? That doesn't seem like a very good idea... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---