title: How to call the setListAdapter in android
body: <p>I have a class not extend from ListActivity, so how can I replace this code without error?</p>
  
  <pre><code>SimpleCursorAdapter adapter = new SimpleCursorAdapter(
    this,
    R.layout.sbooks_row,
    cursor, from,
    to
  );
  setListAdapter(adapter);
  </code></pre>