Skip to content

Instantly share code, notes, and snippets.

@wmbest2
Created December 13, 2010 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wmbest2/738602 to your computer and use it in GitHub Desktop.
Save wmbest2/738602 to your computer and use it in GitHub Desktop.
String[] whereArgs = new String[] {
Long.toString(aStart),
Long.toString(aStart)
};
String where = Listings.START_TIME + " <= ? AND " + Listings.END_TIME + " >= ?";
Cursor query = aContext.getContentResolver().query(Listings.CONTENT_URI, projectionMap,
where, whereArgs, null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment