tags:

views:

22

answers:

0

Hi All,

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 adroid emulator,

Since i have to invoke an new activity,when one of my menuitem in optionmenu is tapped, i put @Override before the method onOptionsSelectedItem(MenuItem menuitem),and trying to implement my own definition instead of call'g 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....

I am using Eclipse Helios...

Please help me out to rectify this issue

Thanks in Advance