Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
listviewXMLファイルから単一の子XMLデータを取得してAndroidで印刷するためのJavaコードを教えてもらえますか?
listview
XmlPullParserhttp://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html をご覧ください。
そこに簡単な例があります
このデータを ListView に取得するには、xml を ArrayAdapter に読み込み、これを使用してリスト ビューに入力する必要があります。