由网友(一时任性)分享简介:我的问题是有点相关的android_asset不工作的蜂窝? My question is kinda related to android_asset not working on Honeycomb?它是允许有一个HTML页面位于资产文件夹?Is it allowed to have spaces in th...
我的问题是有点相关的android_asset不工作的蜂窝?
My question is kinda related to android_asset not working on Honeycomb?
它是允许有一个HTML页面位于资产文件夹?
Is it allowed to have spaces in the file path name of an html page located in the assets folder?
有关恩:是以下法律
mWebView = (WebView) findViewById(R.id.webView1);
mWebView.loadUrl("file:///android_asset/Help File/helpfile.html");
有没有其他的解决办法不是重命名帮助文件目录中有没有空格在里面等?
Is there any other solution other than renaming the "Help File" directory to have no spaces in it?
TIA。
推荐答案
使用一个URI,这将解决这些问题。
Use a URI, which will address such issues.
mWebView.loadUrl(new URI("file:///android_asset/Help File/helpfile.html"))
相关推荐
最新文章