Questions tagged [android-xmlpullparser]

XmlPullParser is an efficient and maintainable way to parse XML on Android.

XML Pull Parser is an interface that defines parsing functionality provided in XMLPULL V1 API

http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html

Example can be found at http://developer.android.com/training/basics/network-ops/xml.html

108 questions
-1
votes
1 answer

XML parser having issues

i have been trying to parse a xml which look like this. is this correct format of xml is so how to parse it. And i want to know what is the format of xml.
-1
votes
1 answer

What is the best way to handle this background process while updating UI?

My app will update a list of bus routes once every 2 weeks from the transit API in the background as a service and will store the list in sharedpreferences. When the user starts the app for the first time the app will start a service in the…
-2
votes
1 answer

android.os.NetworkOnMainThreadException in XmlPullParser

I use google places api to return a list of interesting places nearby. Each place and its attributes are enclosed in result and /result tag. After encountering the first /result tag I get Network on main thread exception whenever there is…
1 2 3 4 5 6 7
8