RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'
Solution 1:
<ListView android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
This will solve the error if you still want to use a ListActivity.
Solution 2:
Remove the call to setContentView
- you don't need it in a ListActivity unless you're doing something radical. The code should work without it.