Wrox Programmer Forums
|
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 2 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 16th, 2011, 01:45 PM
Authorized User
 
Join Date: Nov 2009
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default Earthquake DOM model obsolete?

The earthquake XML parser will not work with feeds that contain escaped characters such as &apos for apostrophe. A google search on this issue says that the DOM model used in the book is not recommended for this reason and because it loads the entire file into memory at once. The consensus is that XML pull parser is the better way to go. Has anyone reading this converted the code to pull parser? If the author looks in here, have you got some alternative code? I will be working on this as I get more experience, but would like to see something if it is already done.
 
Old May 18th, 2011, 02:31 PM
Authorized User
 
Join Date: Nov 2009
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default

If anyone is interested, there is a good tutorial with code for xmlpullparser at this link.

http://ecs.victoria.ac.nz/Courses/NW...ML_pull_parser

As far as I can tell, the code in the book is not very useful for real world applications.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7 Earthquake 2, Earthquake.java, error onActivityResult dbomberg BOOK: Professional Android 2 Application Development 2 November 30th, 2012 05:52 AM
AppSettings("ConnectionString") obsolete stevecist ASP.NET 1.0 and 1.1 Basics 1 December 29th, 2006 01:56 AM
is Beginninig PHP4 obsolete? 132591 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 October 19th, 2006 06:24 PM
Public properties becoming obsolete BenCh BOOK: ASP.NET Website Programming Problem-Design-Solution 1 July 17th, 2005 08:29 PM
Is this book obsolete webdeepak BOOK: ASP.NET Website Programming Problem-Design-Solution 6 March 29th, 2005 03:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.