List Items not working
<p>I made a simple list which calls other activities when a ListItem is clicked, but it is not working for me. When I click, nothing shows up. WHat is wrong ? Here is the code:</p>

<pre><code>    String classes[]={"StartingPoint","Splash", "ex1","ex2"};
@Override
protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setListAdapter(new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, classes));
}

@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
    // TODO Auto-generated method stub
    super.onListItemClick(l, v, position, id);
    String cheese = classes[position];
    try
    {

        Class ourclass = Class.forName("com.alfred.splashscreenwithsound." + cheese);
        Intent myintent = new Intent(this,ourclass);
        startActivity(myintent);
    }
    catch(ClassNotFoundException e)
    {
        e.printStackTrace();
    }
}
</code></pre>

<p>}</p>
