title: Adding String array into setListAdapter
body: <p>I am trying to add a Class array into my Listview.</p>
  
  <p>on debug it stucks on setListAdapter line without any special error.</p>
  
  <p>when I compile it passes my splash screen and open's menu.java but nothing happens when I click items on my list.</p>
  
  <p>here is my Menu.java</p>
  
  <pre class="lang-java prettyprint-override"><code>package com.android;
  import android.app.ListActivity;
  import android.content.Intent;
  import android.os.Bundle;
  import android.view.View;
  import android.widget.ArrayAdapter;
  import android.widget.ListView;
  
  public class Menu extends ListActivity {
  
      String classes[] = { "MainActivity", "Acl", "Bcl", "Ccl",
              "Dcl", "Ecl", "Fcl" };
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
  
          super.onCreate(savedInstanceState);
          setListAdapter(new ArrayAdapter&lt;String&gt;(Menu.this,
                  android.R.layout.simple_list_item_1, classes));
  
      }
  
      @Override
      protected void onListItemClick(ListView l, View v, int position, long id) {
  
          super.onListItemClick(l, v, position, id);
          String classpos = classes[position];
          try {
  
              Class ourClass = Class.forName("com.android.MainActivity"  classpos);
              Intent ourIntent = new Intent(Menu.this, ourClass);
  
              startActivity(ourIntent);
          } catch (ClassNotFoundException e) {
  
              e.printStackTrace();
          }
  
      }
  }
  </code></pre>
  
  <p>and here my code related part of AndroidManifest.xml
  </p>
  
  <pre><code>&lt;activity
              android:name=".MainActivity"
              android:exported="false"
              android:label="@string/title_activity_main" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.android.MAINACTIVITY" /&gt;
  
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  </code></pre>