Hi guys, I'm still working on my app, first i'll explain what it does and then what i want it to do.
When the app is started, it shows a splash screen with a button, after this button is clicked the user gets a view with 3 tabs, at the moment only the first tab has content, and the selected tab is the first tab which shows a listview with RSS news articles. When a user clicks on the article they will be sent to the corresponding url.
However, when the user has read enough, and wants close the app, I assume they close it by hitting the hardware back button. It then hides the app since I set up the splash screen to finish itself after being displayed.
Now the problem, when the user starts the app again, the splashscreen is displayed again, this i do not want, unless the app has actually been killed, it should just show the tabs view.
Another problem i run into when the app is started for the second time (or resumed, i don't know which it does), is that when the splashscreen button is pressed for the second time it force closes the app because it starts parsing the RSS for a second time giving me arrayoutofbounds errors. It should either memorize the complete listview with rss items, or it should reset completely to be able to parse it again.
my set up is as follows:
splashactivity shows,
Tabacitivty shows RSSactivity in the first tab.
RSSactivity starts RSSreader and RSShandler to parse an rss feed and build a listview.
Any help on how to set up the onStop onStart onRestart onResume onPause etc methods would be greatly appreciated.
(All i have set up now is onCreate methods and an onStop method in the splashactivity which only does finish())





