• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Link button to RSS reader

phiredrop

Lurker
Hey Everyone

I'm trying to write an app that pulls information from an existing website. Most of the webpages have RSS feeds so I thought the easiest way would be to parse the RSS url's into an RSS reader - so when the button was clicked in the app, it would open the new RSS Reader activity.

When I try to link the button to the RSS reader though, I get a force close every time I try to push the button. I have it as follows:

public void onClick(View src) {
switch(src.getId()){
case R.id.buttonMessageArchive:
i = new Intent(this, AndroidRssReader.class);
startActivity(i);
break;

Any thoughts?

Thanks!
 
Back
Top Bottom