0
我的問題是如何在web視圖中播放視頻。我可以設置一個活法上的000webhost到流中android.now問題是我如何能在Android中使用的WebView玩...這裏是我的代碼可以顯示一個白色的屏幕,我不知道爲什麼任何人都可以告訴我,我們可以在webview中打開鏈接來播放視頻
mWebView = (WebView) findViewById(R.id.webView1); //This is the id you gave
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setSupportZoom(true); //Zoom Control on web (You don't need this
//if ROM supports Multi-Touch
mWebView.getSettings().setBuiltInZoomControls(true); //Enable Multitouch if supported by ROM
// Load URL
mWebView.loadUrl("http://gumsuminnocent.host56.com/frenchchannel.html");
不工作只是白屏。 plz幫助我,並提前致謝 對不起,我可憐的英語
你能幫我嗎我不是很熟練的android以及在html? :) PLZ的幫助 –