Android - Show Toast or Other Behaviour when menu button clicked
===

I'd like to be able to show a toast or dialog or other options instead of displaying a menu sometimes, if the menu button is pressed.

I tried this, but of course it doesn't work since onCreateOptionsMenu is called when the Activity is first loaded, not when the Menu key is disabled. Is there any way to do what I'm trying to do?

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
       if (disableMenu())
          Toast.makeText(this, R.string.no_menu_for_you, Toast.LENGTH_LONG);
    }