I have used a technique (http://united-coders.com/nico-heid/use-android-activitygroup-within-tabhost-to-show-different-activity)
to develop an app where I have 3 tabs and each tab has its own ActivityGroup. I have menus for each activity. But when I press menu button, the menu does not appear. After doing some random trails I found that If I implement onCreateOptionsMenu in ActivityGroup then only menu appears. I am not able to execute onCreateOptionsMenu of Activity.
Please suggest how to use menu of Activity as I have many activities in single ActivityGroup and by implementing onCreateOptionsMenu in ActivityGroup is not the right way to handle this problem.
I have used a technique ( http://united-coders.com/nico-heid/use-android-activitygroup-within-tabhost-to-show-different-activity ) to develop an app where I
Share
Here is how you roll with it:
In your ActivityGroup class onCreateOptionMenu() call the current
Activity‘sonCreateOptionMenu()i.eand in your individual
Activityand if you want any
Activitywithout having anyMenujust override these methods