如何打开本地html文件
全速前行 博客专家认证 2010-09-27 11:24:34 在网上找了下,几乎全是
Intent intent=new Intent();
intent.setAction("android.intent.action.VIEW");
Uri CONTENT_URI_BROWSERS = Uri.parse("content://com.android.htmlfileprovider/sdcard/123.html");
intent.setData(CONTENT_URI_BROWSERS);
intent.setClassName("com.android.browser", "com.android.browser.BrowserActivity");
startActivity(intent);
可是我运行后报错:The requested file was not found.No content provider:.....
请各路神仙大侠指点。。。