code: public String get(Context context, String url) {
          final Cursor cursor = context.getContentResolver().query(getUri(OfflinerDBHelper.TABLE_CACHE),
                  OfflinerDBHelper.PARAMS_CACHE, OfflinerDBHelper.REQUEST_URL
                          + " = '" + url + "'", null, null);
          String result = null;
  
          if (cursor != null) {
              if (cursor.getCount() != 0) {
                  cursor.moveToFirst();
                  result = cursor.getString(cursor.getColumnIndex(OfflinerDBHelper.REQUEST_RESULT));
              }
              cursor.close();
          }
  
          return result;
      }
docs: Retrieve a value saved for offline access.
  
  @param context context used to retrieve the content resolver.
  @param url     key.
  @return retrieved value or null if no entry match the given key.