Implementing option menu one time for several activities
<p>I am trying to implement an options menu for my app and the same menu is used in different activities. In the <a href="http://developer.android.com/guide/topics/ui/menus.html" rel="nofollow">Android developers site</a>, it says the following:</p>

<blockquote>
  <p>Tip: If your application contains multiple activities and some of them
  provide the same options menu, consider creating an activity that
  implements nothing except the onCreateOptionsMenu() and
  onOptionsItemSelected() methods. Then extend this class for each
  activity that should share the same options menu. This way, you can
  manage one set of code for handling menu actions and each descendant
  class inherits the menu behaviors. If you want to add menu items to
  one of the descendant activities, override onCreateOptionsMenu() in
  that activity. Call super.onCreateOptionsMenu(menu) so the original
  menu items are created, then add new menu items with menu.add(). You
  can also override the super class's behavior for individual menu
  items.</p>
</blockquote>

<p>My activities extend from Activity, ListActivity or MapActivity, so what would be the correct way to implement what they are suggesting here? is it possible? Because I cannot extend this new class for all of these, I could only do something like public abstract BaseMenu extends Activity (as explained in <a href="http://stackoverflow.com/questions/4894116/adding-the-same-context-menu-to-multiple-activities">this question</a>) but this doesn't work for me. So I am wondering if there is a work around I can implement.</p>

<p>Thanks in advance</p>
