I got it working with help from Joe over at PhoneGap.
1. import android.webkit.WebStorage
2. then throw these in your WebSettings:
settings.setDatabaseEnabled(true);
settings.setDatabasePath("/data/data/com.package.name/
databases");
3. in your WebChromeClient you'll need to override the exceed quota
function to just add more size:
public void onExceededDatabaseQuota(String url, String
databaseIdentifier, long currentQuota, long estimatedSize, long
totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) {
quotaUpdater.updateQuota(204801);
}
note: your openDatabase command in javascript can't have a size
bigger than the size in updateQuota.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en