OK I’ve been online trying to figure this out, and piecing together bits of code here and there. I still don’t understand. All I want is to display three list items and on item click it would go to a new activity. What do I need to fix?
Edit:
I made a stupid mistake. Fixed now – thanks everyone!
I’m going to guess that you should replace this:
with this:
getListAdapter()is a function for a ListActivity but not a regular Activity.