android打开本地文件的方法 -电脑资料

电脑资料 时间:2019-01-01 我要投稿
【meiwen.anslib.com - 电脑资料】

   

    webView打开本地sdcard上html文件的方法:

    webView.loadUrl(“file:///sdcard/test.html”);

    webView.loadUrl(“content://com.android.htmlfileprovider/test.html);

    webView.loadUrl(“file:///android_asset/icon.png”);

    摘自 284772894

最新文章