Android WebView 加载HTML文件
HTML文件的来源:
1、包内的assets目录
file:///android_asset/www/index.html”
2、手机内存和SDCard
file://” + APP.getInstance().getFileDir() + “/index.html
3、网络
www.baidu.com
HTML文件的来源:
1、包内的assets目录
file:///android_asset/www/index.html”
2、手机内存和SDCard
file://” + APP.getInstance().getFileDir() + “/index.html
3、网络
www.baidu.com