Android - openOptionsMenu doesn't work in onCreate
<p>Is there any other way to call openOptionsMenu after activity is displayed without using something like this:</p>

<pre>
new Handler().postDelayed(new Runnable() {
            public void run() {
                openOptionsMenu();
            }
        }, 1000); 
</pre>

<p>Reference:
<a href="http://groups.google.com/group/android-beginners/browse_frm/thread/b10a8ea840c07725/1ce48bb147a3ed1a?#1ce48bb147a3ed1a">http://groups.google.com/group/android-beginners/browse_frm/thread/b10a8ea840c07725/1ce48bb147a3ed1a?#1ce48bb147a3ed1a</a></p>

<p>EDIT: I would appreciate example like this:</p>

<pre>
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // Now I guess something like Window.Callback.onAttachedToWindow(...) should be done?
}
</pre>
