Skip to content

Instantly share code, notes, and snippets.

@msdalp
Created March 1, 2014 19:26
Show Gist options
  • Save msdalp/9295650 to your computer and use it in GitHub Desktop.
Save msdalp/9295650 to your computer and use it in GitHub Desktop.
Cursor cursor = getReadableDatabase().
rawQuery("select * from data where ID = ?", new String[] { _id });
database.query("data",
new String[] { ID, DATA_ID, VALUE },
null, null, null, null, null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment