I'm developing a mobile application, it gets data from an XML file and shows it in a listview. I use Android Studio 2.0 as my IDE.
I've used this tutorial to implement xml parsing in the application. I've downloaded the XML file of the tutorial above and uploaded it into my hosting space.
Exactly the same file :
Same XML file in my hosting space
The confusing problem is that the app works when URL has been set to the XML file in the tutorial and listview got filled correctly but when I change the URL to the XML file in my hosting space listview is empty.
Both files have the same contents, same XML header and I've checked the accessibility to the XML MIMEType on the hosting space but no luck.
My source code is almost the same as in tutorial with some changes which are not related to this part.
I'll appreciate any help.
No comments:
Post a Comment