You also need to define a convertToString(Cursor) method for your custom CursorAdapter.
For instance:
public static class YourAdapter extends CursorAdapter implements Filterable{
You can also check the examples from ApiDemos (AutoComplete4.java and AutoComplete5.java files from <android-sdk-dir>\samples\android-15\ApiDemos\src\com\example\android\apis\view
source share