Dear Eric,
WebView.loadDataWithBaseURL has a possibility to cause
NullPointerException
when mWebViewCore is null. I assume that this can be caused by calling
loadDataWithBaseURL after destroy this WebView instance.
public void loadDataWithBaseURL(String baseUrl, String data,
String mimeType, String encoding, String failUrl) {
if (baseUrl != null &&
baseUrl.toLowerCase().startsWith("data:")) {
loadData(data, mimeType, encoding);
return;
}
switchOutDrawHistory();
HashMap arg = new HashMap();
arg.put("baseUrl", baseUrl);
arg.put("data", data);
arg.put("mimeType", mimeType);
arg.put("encoding", encoding);
arg.put("failUrl", failUrl);
mWebViewCore.sendMessage(EventHub.LOAD_DATA, arg);
clearTextEntry();
}
This is not the problem of Android framework. You need to fix AdMob
code.
--
nagamatu
On Jan 26, 9:15 am, Eric Leichtenschlag <
eleichtens...@google.com>
wrote: