package com.example.xmltestapp; import android.os.Bundle; import android.app.ListActivity; public class MainActivity extends ListActivity { public static final String RSS_URL = "http://www.shupirates.com/headline-rss.xml"; private XMLData adapter; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); adapter = new XMLData(this); setListAdapter(adapter); adapter.add("Testing adapter"); } }