TabActivity with Menu
<p>I make a tabactivity:</p>

<pre><code>public class VisitShopMenuTab extends TabActivity{

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.visit_shop_menu_tab);

        TabHost tabHost = (TabHost)findViewById(android.R.id.tabhost);

        for (int i = 0; i &lt; 5; i++) {
            TabSpec tab = tabHost.newTabSpec("tab"+i);
            tab.setIndicator("  Tab-"+i+"  ").setContent(new Intent(this,VisitShopMenu.class));
            tabHost.addTab(tab);
        }  
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.menu.visit_shop_menu_menu, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {
        case R.id.visit_shop_menu_menu_close:
            finish();
            return true;
        case R.id.visit_shop_menu_menu_printing:
            return true;
        default:
            return super.onOptionsItemSelected(item);
        }
    }
}
</code></pre>

<p>My problem: When I push the MENU button on the emulator, the Menu doesn't appear.
But when I use this menu methods in another Class (Just a simple Activity) the menu appear.</p>

<p>Thenks the help,
Balu</p>
