Webview cache FALLBACK crash?

by Neil » Fri, 25 Feb 2011 12:57:23 GMT


Sponsored Links
 Hiya

I've scoured the net for days, but I can't work this one out.

I had a WebView that uses the HTML5 cache manifest file.  All seems to
work fine, I can view pages offline etc, except when I try and view a
page that isn't in the cache, then my app restarts or quits.

Any ideas?  Perhaps I can check to see if a page is cached before I
let the webview visit it - but how do I do this check?

My test device is a Hero running the standard 2.1 (ie as HTC
intended).  Perhaps this is "just" an issue with 2.1?

I'm assuming the caching is working ok - certainly seems to, though
Astro can't find any files on the device with my app name..

Help!

Thanks :)

Neil

-- 



Other Threads

1. service dies without calling onDestroy()

A service is setup by an activity with startService(service_intent).
This service is meant to run 24 hours a day. After some amount of
time, 5 or 6 hours sometimes but its not predictable, the service is
killed.

The service has an onDestroy:
        public void onDestroy() {
                rssdb.log("Pigon destroyed");
                rssdb.close();
                notificationManager.cancel(1);
        }

In the database log, the destroyed message does not show up and the
notification #1 is not cancelled. Android makes no attempt to restart
the service. The database log will show the startup of the replacement
service if I trigger it by visiting the activity. What can I do to
keep this service running or at least get it restarted by android
automatically?

Don

-- 

2. Building APPS that require an online database

Hi! Folks
I am looking for a free SAAS provider that I could use to accomplish
the following.
a. CRUD data using webservices or someother compatible mechanism.

Any ideas would be great.

-- 

3. Blank screen displayed after downloading from Android Browser.

4. Using intent with startActivity from inner class

5. Booting Android on Samsung Star

6. reg: SPI channels on HTC Dream (G1)

7. Upload multiple versions for single android application for different SDK levels 1.5, 1.6, 2.0