ContentProvider is an abstract class. That means that it has definitions for certain methods but does not provide an implementation for them. Therefore when you extend ContentProvider, you need to provide implementations of these methods in your class (even if you have no intention of calling them in your code). This is what the tutorial means when it says "implement stubs for the needed abstract methods" and also what your compile errors are referring to.
You can implement them by adding the following to your class:
@Override
public int delete(Uri arg0, String arg1, String[] arg2) {
return 0;
}
@Override
public String getType(Uri arg0) {
return null;
}
@Override
public Uri insert(Uri arg0, ContentValues arg1) {
return null;
}
@Override
public boolean onCreate() {
return false;
}
@Override
public Cursor query(Uri arg0, String[] arg1, String arg2, String[] arg3, String arg4) {
return null;
}
@Override
public int update(Uri arg0, ContentValues arg1, String arg2, String[] arg3) {
return 0;
}
These are referred to as 'stubs' because they aren't do any processing as such (other than returning a null/zero/false value).