0

Need help to run my android app with extended ListActivity class

view story
linux-howto

http://stackoverflow.com – I have one activity called main_activity.xml and two java classes called Main.java & Menu.java. In Menu.java class I extended ListActivity class. When I run myApp its giving popup to forceclose. Plz help. Below is the code of Menu.java: public class Menu extends ListActivity{ String classes[]={"Main","Second","Third","China"}; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setListAdapter(new ArrayAdapter<String>(Menu.this, android.R.layout.simple_list_item_1, classes)); } @Override protected void onListItemClick(ListVi (HowTos)