android dev: how to implement for add method in menu interface?
<p>who knows about the method "add" in menu interface? how to implement exactly? which is it's imlementation class? i couldn't find detail implementation in source code of sdk. i want to check how to implement in android source code for "add" method.</p>

<p>e.g.</p>

<pre><code>public boolean onCreateOptionsMenu(Menu menu) {
    menu.***add***(0, MENU_NEW_GAME, 0, "New Game");
    menu.add(0, MENU_QUIT, 0, "Quit");
    return true;
}
</code></pre>

<p>thanks in advance!</p>
