Here\'s my current sqlite code:
Cursor c = sqlDatabase.rawQuery(\"select docid as _id, recipeID from \" + TABLE_RECIPE_NAME + \" where \" +
change query to:
Cursor c = sqlDatabase.rawQuery("select docid as _id, recipeID from " + TABLE_RECIPE_NAME + " where " + KEY_ownerID + " = ? AND " + KEY_partnerID + " = ? AND " + KEY_advertiserID + " = ? AND " + KEY_chefID + " = ?", new String[] { ownerID, partnerID, advertiserID, chefID });