-
Recent Posts
Recent Comments
- vidya on Toolbar overlapping listView
- wpadmin on SAX parser using AsyncTask to read xml file on net
- Free Stuff on SAX parser using AsyncTask to read xml file on net
- Crave Freebies on SAX parser using AsyncTask to read xml file on net
- wpadmin on Resources references from the manifest cannot vary by configuration
Archives
- September 2018
- July 2018
- June 2018
- October 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- December 2016
- June 2016
- March 2016
- February 2016
- November 2015
- May 2015
- January 2015
- April 2014
- March 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
Categories
Meta
Monthly Archives: August 2013
SAX parser using AsyncTask to read xml file on net
SAX parser uses less memory than DOM parser, so better for mobiles. Sources were stackoverflow and android developer site but links now lost. This is the laptops.xml file placed on a remote server. <?xml version=”1.0″ encoding=”UTF-8″?> <laptops> <laptop model = … Continue reading
Posted in Android
3 Comments
XML pull parser reading asset
This is my example pulled from a few sources (probably stackoverflow but I no longer have the links). Put employees.xml in assets folder of project. <?xml version=”1.0″ encoding=”UTF-8″?> <employees> <employee> <id>2163</id> <name>Kumar</name> <department>Development</department> <type>Permanent</type> <email>kumar@tot.com</email> </employee> <employee> <id>6752</id> <name>Siva</name> <department>DB</department> … Continue reading
Posted in Android
Leave a comment