I want to start new Activity when i click on ListView's content
<pre><code>ListView lv = getListView();
        lv.setTextFilterEnabled(true);
        lv.setOnItemClickListener(new OnItemClickListener() {
            public void onItemClick(AdapterView&lt;?&gt; parent, View view,int position, long id) {

Intent i = new Intent(this, contents.class);
        startActivityForResult(i, 1);
</code></pre>

<p>But when i click on ListView it encounters en error. Tell me where i m wrong????</p>
