title: How to get value from database with onListItemClick?
body: <p>I can add to a db and list as a listview. When I click a list item using <code>onListItemClick</code>, what statement do I need to get the value? </p>
  
  <pre><code>String[] from = new String[] {NotesDbAdapter.KEY_BODY, NotesDbAdapter.KEY_TITLE, NotesDbAdapter.KEY_NUMBER};
  int[] to = new int[] {R.id.toptext, R.id.middletext, R.id.circle};  
  SimpleCursorAdapter notes = new SimpleCursorAdapter(this, R.layout.row, notesCursor, from, to);
  setListAdapter(notes);
  
  //some other code
  protected void onListItemClick(ListView l, View v, int position, long thisID)
  {
      super.onListItemClick(l, v, position, thisID);
      **String **resposponseid** = Activity2.getData();**
  }
  </code></pre>
  
  <p>I have responseid for every row unique which I want to use when I click on list position. So how to get responseid when I click on list?</p>