日期:2014-05-16 浏览次数:20590 次
WebSettings settings = webView.getSettings(); ??
settings.setJavaScriptEnabled(true); ??
settings.setJavaScriptCanOpenWindowsAutomatically(true); ?
... ?
settings.setDatabaseEnabled(true); ??
settings.setDatabasePath("/data/data/your.package.name/database_name");?
?
然后需要继承onExceededDatabaseQuota它在WebChromeClient 里面
public void onExceededDatabaseQuota(String url, String?
databaseIdentifier, long currentQuota, long estimatedSize, long?
totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) {?
? ? ? ? ? ? ? ? quotaUpdater.updateQuota(204801);?
}??
2.
<?php?
header('Content-type: application/vnd.google-earth.kml+xml');
echo '<kml xmlns="http://www.google.com/earth/kml/2">';?
echo '<Placemark>';?
echo '<name>Google Inc.<