1 //打开本包内asset目次下的test.html文件

  wView.loadUrl(" file:///android_asset/test.html ");  

2 //打开本地sd卡内的kris.html文件

  wView.loadUrl("content://com.android.htmlfileprovider/sdcard/kris.html");

3 //打开指定URL的html文件

  wView.loadUrl(http://www.krislq.com/);

 

相关文章:

  • 2021-08-27
  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
猜你喜欢
  • 2022-12-23
  • 2021-09-20
  • 2021-08-19
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案