I need to start a target activity at runtime, and disable some buttons (such as "BACK" and "HOME" button) for it, these button are enabled by default in the implementation of the target activity. Since the target activity is configurable, I don't know which activity it is until runtime. And a requirement is that I can't change the source code of all the potential target activities. The only way I can think of is changing the method behaviour of the target activity when I know which target it is, such as onKeyDown() and onAttachedToWindow(). Anybody knows how to do this change at runtime? Thanks!
-- 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

