This an Android application with XML parsing codes.
The url I have used is available in values/string.xml file.
The application check internet connection as well. If there is no connection, it shows some TOAST message such as:
If there is internet connection; the application show a dialog while parsing data from the internet (Loading, please wait...)
When finished, it shows all data in two different Textviews (title, description)
If data first loaded it does not let you load it again. I created a flag called "isTaskExecuted" which does not let execute task again.
This app shows monthly horoscope information, if you like you can change it to daily, yearly etc.
Hope it helps someone ๐ :) If you want to see some real project I have created with XML parsing codes, please check my android daily horoscope application.
Ercan DUMAN Computer engineer, Android Developer For more android apps visit