更新时间:2022-11-04 19:52:53
的file:/// android_asset / ...
,其中 ..
是你的东西资产/
目录中。请注意,只有将自己的过程中工作,这样你就可以加载HTML到的WebView
这种方式,但不是到浏览器的应用程序。
file:///android_asset/...
, where ...
is the stuff inside your assets/
directory. Note that will only work within your own process, so you can load the HTML into a WebView
this way, but not into the Browser application.