¾Èµå·ÎÀ̵å À¥ºä¿¡¼ ·ÎÄà µ¿¿µ»ó ÆÄÀÏÀ» ½ÇÇàÇÒ·Á°í Çϴµ¥
ÀÚ²Ù °ËÀºÈ¸éÀ¸·Î µÇ°í ½ÇÇàÀÌ ¾ÈµÇ¼.. Ȥ½Ã ¿¹Á¦ °°Àº°Å³ª ÀÖÀ»±î¿ä
¹öÀüÀº ŶĹ 4.4ÀÔ´Ï´Ù
ÀÚ¹ÙÂÊ¿£
WebView mWebView;
@SuppressLint("SetJavascriptEnabled")
@SuppressWarnings("deprecation")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mWebView = (WebView)findViewById(R.id.webview);
mWebView.getSettings().setJavascriptEnabled(true);
mWebView.getSettings().setLoadWithOverviewMode(true);
mWebView.getSettings().setUseWideViewPort(true);
mWebView.getSettings().setSupportMultipleWindows(true);
mWebView.getSettings().setDatabaseEnabled(true);
mWebView.getSettings().setDomStorageEnabled(true);
mWebView.getSettings().setSupportMultipleWindows(true);
mWebView.getSettings().setPluginState(WebSettings.PluginState.ON);
String url = "file:///android_asset/images/test111.mp4";
mWebView.loadUrl(url);
mWebView.setWebChromeClient(new WebChromeClient());
mWebView.setWebViewClient(new WebViewClient());
}
ÀÌ·¸°Ô ³Ö¾î¼ Çߴµ¥ ¾îµð¼ À߸øµÈ°ÇÁö¸¦ ¸ð¸£°Ú³×¿ä | |
|