Skip to content Skip to sidebar Skip to footer

Android Listview - Rsspro App Has Stopped Working?

I've followed this tutorial but when I try to run the application I get 'Unfortunately RSSPro has stopped.' This is my code for the RSSProActivity: package com.android.rss; import

Solution 1:

You are facing the NetworkOnMainThreadException because of retrieving the XML in main thread. Use AsyncTask to perform the fetching and parsing of XML in background. A sample can be found in: Read RSS in background, using AsyncTask


Post a Comment for "Android Listview - Rsspro App Has Stopped Working?"