How to start ListActivity from intent?
<p>I have a class <code>ListNotes</code> which extends a  <code>ListActivity</code> and in another class I have an intent which reffers to a <code>ListNotes</code> class. The problem is that I get an error "Sorry! The application has stopped unexpectedly. Please try again". When I change a <code>ListActivity</code> to just an <code>Activity</code>, the error disappears. But I really need to extend a <code>ListActivity</code>, as I have a <code>ListView</code> in it. Can I modify this code </p>

<pre><code>Intent intent = new Intent(MyNotepad.this, ListNotes.class);
        startActivity(intent);
</code></pre>

<p>to make it work? Maybe there is sth like <code>startListActivity(intent);</code> ? </p>
