How to text filter an Android ListView backed by a SimpleCursorAdapter?
For a SimpleCursorAdapter cursor, you only need to use the setFilterQueryProvider, to run another query for your cursor, based on the constraint: m_Adapter.setFilterQueryProvider(new FilterQueryProvider() { public Cursor runQuery(CharSequence constraint) { Log.d(LOG_TAG, “runQuery constraint:”+constraint); //uri, projection, and sortOrder might be the same as previous //but you might want a new selection, based on your filter content … Read more