You cannot use onResume for this.
In fact this is the call order when your app is launched :
- onResume()
- onCreateOptionMenu
- onPrepareOptionsMenu
As you can see onCreateOptionsMenu is called AFTER onResume
(you can verify this yourself by writing to the console in the overriden methods).
Also notice that onPrepareOptionsMenu is called at least once - when your app is starting, even though the menu is at that time not shown to the user.
Now, you do not write in great detail about what you are trying to do, but if what you want to do is this "run a certain code that accesses one of the menu items", then you can use onPrepareOptionsMenu as it is called AFTER onCreateOptionsMenu and it also called whenever your app comes to the foreground - i.e. after onResume. Depending on whether this code needs to run once or everytime you can use a boolean flag inside that method (or store it in the Preferences or similiar persistent data if it is only once ever).
There are no other callback hooks mentioned in the documentation and I have never had the need for others, as onPrepareOptionsMenu should be enough to do the job. If you feel this is not the case, you need to be more specific in your answer and provide code for your specific usecase.
But as I said before, no other callbacks are mentioned in the documentation.