Show Menu Option Automatically At First Activity Of Application
<p>I develop a application</p>

<p>and in which i have a Menu option which i invoke from onCreateOptionMenu()</p>

<p>But this is called only when any user press the menu button</p>

<p>so now i want that my application start and first Activity is Welcome.java</p>

<p>then in onCreate(Bundle b)</p>

<p>can i write sone line from which the menu is invoked automatically without pressing Menu button</p>

<p>i used openOptionMenu() but it not works.</p>

<p>2) can i create a Button and simulate it as Menu button and then write button.performClick() so it act as a Menu Button and menu option will visible</p>

<p>So give me some suggestion on this</p>

<p>Thanks</p>
