ListActivity has both a getListAdapter and getListView methods.
In your onCreate, after you call
setContentView(R.layout.list_activity);
where R.layout.list_activity is your layout file for the activity that has a ListView tagged with the android list id like so (according to the docs)
<ListView
android:id="@android:id/list"
... />
you can call
getListView().setOnItemClickListener(new AdapterView.OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View view,
int position, long id) {
...
}
});
From the docs
ListActivity has a default layout that consists of a single, full-screen list in the center of the screen. However, if you desire, you can customize the screen layout by setting your own view layout with setContentView() in onCreate(). To do this, your own view MUST contain a ListView object with the id "@android:id/list" (or list if it's in code)