Error in overriding onRecieve() while making android widget
===

I have  a AppWidget Class (extends AppWidgetProvider).

    public class AppWidget extends AppWidgetProvider {    
        	@Override 	
            public void onRecieve(Context context, Intent intent){
                      //do something
                } 
    }

I am receiving an error as 

> The method onRecieve(Context, Intent) of type AppWidget must override or implement a supertype method

with a quick fix of removing @Override.

Why can not I override the method. How else can I do the same thing.??
