On Sun, Jun 20, 2010 at 3:02 AM, schwiz <[email protected]> wrote: > Hello all I am trying to override the behavior of a TabActivity that > has other Activities as children. I have made all of the children > activities return false in onKeyDown so that the key will propagate > through to the parent. However, this is not the case. The only key > that is being recognized is the search key. Back, menu, and home are > not being overridden. Please help!!!!
Here is what I would do: Step #1: Get rid of the "other activities as children", replacing them with Views as your tabs Step #2: Ignore HOME, since you cannot intercept that in any activity, let alone one hosting tabs Step #3: In your one remaining activity, implement onKeyDown() -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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

