tag:blogger.com,1999:blog-7696873188310393447.post5956113324875099401..comments2023-10-16T15:21:18.728+02:00Comments on NewsRob: Manual "Refresh" not working anymore? XML Parser issues! Beta?Marianohttp://www.blogger.com/profile/04576024486566426295noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-7696873188310393447.post-42105928133858796182009-11-29T16:45:44.071+01:002009-11-29T16:45:44.071+01:00Thanks for the tip. I added it to my TODO list.Thanks for the tip. I added it to my TODO list.Marianohttps://www.blogger.com/profile/04576024486566426295noreply@blogger.comtag:blogger.com,1999:blog-7696873188310393447.post-37420924975765107782009-11-27T19:57:52.795+01:002009-11-27T19:57:52.795+01:00You may want to look at vtd-xml as the state of th...You may want to look at vtd-xml as the state of the art in XML processing, consuming far less memory than DOM<br /><br /><a href="http://vtd-xml.sf.net" rel="nofollow">vtd-xml</a>anon_anonhttps://www.blogger.com/profile/14424619310452413715noreply@blogger.comtag:blogger.com,1999:blog-7696873188310393447.post-47949238676150238552009-04-27T14:29:00.000+02:002009-04-27T14:29:00.000+02:00Thanks for trying that out M., I'll keep that in m...Thanks for trying that out M., I'll keep that in mind.<br />I meanwhile opened a <A HREF="http://code.google.com/p/android/issues/detail?id=2487" REL="nofollow">bug report</A> and like to see what will happen to it.Marianohttps://www.blogger.com/profile/04576024486566426295noreply@blogger.comtag:blogger.com,1999:blog-7696873188310393447.post-47303501540549080962009-04-27T07:46:00.000+02:002009-04-27T07:46:00.000+02:00The WebView's parser seems to work OK with this in...The WebView's parser seems to work OK with this input. I tested my RSS reader with http://feeds.mercurynews.com/mngi/rss/CustomRssServlet/568/200735.xml, and manually inserted the offending line.<br /><br />And the feed was displayed the same way as without the inserted line. So I think the XML parser in WebView should be pretty robust.<br /><br />My experience with WebView memory usage is quite positive. I use two WebViews in my app -- one for displaying the page to user, the other for running my scripts. So far I haven't seen any memory issues with this usage pattern. I am actually considering adding more WebViews so that when user hits BACK key the previous page can be displayed instantaneously :-)NubiNews Developerhttps://www.blogger.com/profile/13629589112387465658noreply@blogger.comtag:blogger.com,1999:blog-7696873188310393447.post-32666511207652633062009-04-23T17:03:00.000+02:002009-04-23T17:03:00.000+02:00Hey,
I don't know if it is such a good idea to b...Hey, <br /><br />I don't know if it is such a good idea to branch out to WebView from a service running in the background?!<br /><br />Btw. could you run a sample and see if the parser chokes on it?<br />Unfortunately I can't post the sample here, as blogger won't accept it.<br />http://groups.google.com/group/android-developers/browse_thread/thread/c83fb1c104a2e9eb<br />Look for the String with the variable name "in".Marianohttps://www.blogger.com/profile/04576024486566426295noreply@blogger.comtag:blogger.com,1999:blog-7696873188310393447.post-74489492370380941672009-04-23T09:30:00.000+02:002009-04-23T09:30:00.000+02:00Hi Mariano,
Have you tried using the XML parser i...Hi Mariano,<br /><br />Have you tried using the XML parser in WebView? I use it in my app and it makes parsing the feeds very easy. See the function parse_rdf_data_new() in <br /><br />http://code.google.com/p/nubi/source/browse/trunk/android/nubinews/assets/rssreader.html<br /><br />Cheers!NubiNews Developerhttps://www.blogger.com/profile/13629589112387465658noreply@blogger.com