On Fri, Dec 9, 2011 at 2:40 PM, Brion Vibber bvibber@wikimedia.org wrote:
However, any loading that *fails* (such as a page that hasn't been cached) triggers an application-fatal error, as far as I can tell because DroidGap assumes that iframes don't exist and the only thing that might fail to load is the entire application. :P This may just have to be hacked around by modifying the phonegap infrastructure. :P
Found this was easy to fix in WikipediaActivity by overriding onReceivedError to do nothing. We get the generic Android browser error page on fail instead, nice!
Work in progress: https://github.com/brion/Wikipedia/commits/cache-setcachemode
-- brion