When executing the query below, I get a "Stopped Unexpectedly" error.
I am trying to pull only records that contain "movie"
, in my "KEY_TYPE"
column from my android Sql table.
This is what I have right now:
/** Called when the activity is first created. */
@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.media_list);
setTitle(R.string.movie_list);
mDb.query("records", new String[] {MediaDbAdapter.KEY_TYPE}, "KEY_TYPE LIKE '%movie%'", null, null, null, null);