I am creating a app that goes to a network and pulls down a simple XML file. If everything goes okay, then the file (which contains some names) is displayed in a ListView control.
On the other hand, if there is an error (like a network error etc..) then I would like to show the user something, such as a message in a toast that lets them know that an error occurred, and then I want to close the app.
Can someone please show me how to do this correctly?
Thanks
