1. Download our Official Android App: Forums for Android!

Problem with onCreateOptionsMenu

Discussion in 'Android Apps & Games' started by ramesh_bh, Oct 20, 2010.

  1. ramesh_bh

    ramesh_bh Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    17
    Joined:
    Sep 16, 2010

    Sep 16, 2010
    17
    1
    16
    HI,

    I want to override onCreateOptionsMenu, but when i put @Override notation my eclipse is showing error and saying delete @Override annotation,
    here is my code:
    @Override
    public boolean onCreateOptionsMenu(Menu menu){
    super.onCreateOptionsMenu(menu);
    return true;
    }
    If i delete how my method will call ?

    Please hlep,
     

    Advertisement

Share This Page

Loading...