title: SQLite Query to String
body: <p>I want to put an table content to a string if a listview item is selected. </p>
  
  <p>My actual query </p>
  
  <pre><code>    public Cursor webUrlQuery() {
      String webUrlTmp = "select weburl FROM stations WHERE name=" + "'" + name + "'";
      return database.rawQuery(webUrlTmp, null);
  }
  </code></pre>
  
  <p>works. But if I log it to logcat via </p>
  
  <pre><code>Log.d(TAG, "webUrl = " + webUrlQuery());
  </code></pre>
  
  <p>or</p>
  
  <pre><code>Log.d(TAG, "webUrl = " + webUrlQuery().toString());
  </code></pre>
  
  <p>I got something like this:</p>
  
  <blockquote>
    <p>12-30 23:25:15.828: D/StationsActivity(10576): streamUrl = android.database.sqlite.SQLiteCursor@4132fce0</p>
  </blockquote>
  
  <p>How can I get an string which I can use? 
  It seems that the method, cursor.toString() dont work.</p>