1
此方法可與其他網頁正常工作,但one除外。結果與WebChromeClient相同,並且與android:hardwareaccelerated =「true」一樣,正如關於SO的其他問題所建議的那樣。WebView打開網頁,點擊鏈接顯示「網頁不可用」
這4只是繼續在Eclipse的logcat重複...
Unknow chromium error: -337,
Could not parse Spdy Control Frame Header,
Recived data frame for invalid stream 15,
external/chromium/net/spdy_session.cc:1058: [0939/183331:WARNING:spd]
這裏是我的源代碼
package com.mypackage.pk;
import com.mypackage.pk.R;
import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class F1Activity extends DashboardActivity
{
private WebView webView;
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView (R.layout.activity_f3);
setTitleFromActivityLabel (R.id.title_text);
webView = (WebView) findViewById(R.id.webView5);
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setBuiltInZoomControls(true);
webView.loadUrl("https://omega.ffzg.hr/");
webView.setWebViewClient(new WebViewClient() {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url)
{
view.loadUrl(url);
return true;
}
});
}
}
會考慮它 –
這4只是繼續在Eclipse的logcat重複... 不明鉻錯誤:-337, 無法解析SPDY控制框架頭文件, 無效流15的接收數據幀, external/chromium/net/spdy_session.cc:1058:[0939/183331:警告:spd] –