I want to show onCreateOptionsMenu which is on the right top side of the application. without touching on the three dots. what i am actually planing to do is, when the app runs for the first time i want show the menu items to user automatically, how can i do that see the screenshot to get more details
    SharedPreferences preferences=  PreferenceManager.getDefaultSharedPreferences(this);
    if (!preferences.getBoolean("Time",false))
    {
     // code to trigger onCreateOptionsMenu
        Toast.makeText(getApplicationContext(), "Showing menu items ", Toast.LENGTH_LONG).show();
        SharedPreferences.Editor editor=preferences.edit();
        editor.putBoolean("Time",true);
        editor.commit();
    }