simpleCursorAdapter を listView に設定する必要があります。
どうすればそれを達成できますか?
ありがとう。
この質問は少し漠然としているので、簡単に答えたいと思います。
my_list_view.setAdapter(my_cursor_adapter);
ただし、ドキュメントにはより良い説明と例があります。これが1つです:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List2.html
ListViewには、次のように宣言されたメソッドがあります。
public void setAdapter (ListAdapter adapter)
また、 ListAdapterのドキュメントには、SimpleCursorAdapterが独自の間接サブクラスの 1 つとしてリストされています。したがって、SimpleCurseAdapterをListViewに設定するには、アダプターを使用してビューでsetAdapterを呼び出すだけです。