2011-03-19 87 views

回答

1

用这么长的方法:

SQLiteQueryBuilder.buildQueryString(boolean distinct, String tables, String[] columns, String where, String groupBy, String having, String orderBy, String limit) 

而在String where将其设置为类似"column_name LIKE pattern" 请注意,你不会(也不能)的字符串包含单词“其中”在这个字符串中,因为它将被构建到它中。

http://developer.android.com/reference/android/database/sqlite/SQLiteQueryBuilder.html