title: Create method which returns resultset from sql query
body: <p>I have a little problem with creating a method which takes <code>String</code> as parameter and return ResultSet after execute the query.Here is an example actually what I'm trying to do :</p>
  
  <pre><code>public ResultSet executeSQLQuery(String query){
          ResultSet rs = sqliteDb.rawQuery(query,null);;
          return rs;
      }
  </code></pre>
  
  <p>Something like this, but it says that I have to convert rs to cursor type, but I need to return RS. Any ideas how to get the things to work?</p>