Called when your activity's options menu needs to be created.
super.onCreateOptionsMenu(menu);
// We are going to create two menus. Note that we assign them
// unique integer IDs, labels from our string resources, and
// given them shortcuts.
menu.add(0, BACK_ID, 0, R.string.back).setShortcut('0", 'b");
menu.add(0, CLEAR_ID, 0, R.string.clear).setShortcut('1", 'c");
return true;