Although Mark's idea is workable, it may be bad OOD. It would work if all your apps are direct subclasses of Activity, but what if some are MapActivity, etc? I think the answer may depend on that and how you want to use the global menu. Using delegation, you could have each menu be created by the same code, but then what? Typically menus are implemented with inner classes, allowing access to the Activity's private methods and classes.
-- 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

