I am try'g to create an Simple application in Android. In one of my module I have to call the options menu that appears underneath the screen, when I click the menu button in the Android emulator.
Since I have to invoke a new activity, when one of my menu items in option menu is tapped, I put @Override before the method onOptionsSelectedItem(MenuItem menuitem) in order to implement my own definition instead of calling the parent activity.
Once I put the annotation @Override before onOptionsSelectedItem(MenuItem menuitem) method, its showing the following error...(in compile time itself)
The method onOptionsitemSelected(MenuItem) of type SingleShooterRecordShots (MyClass) must override a superclass method....