Webview load html from assets directory
<p>I'm trying to load a html page from the assets directory. I tried this, but it fails.</p>

<pre><code>public class ViewWeb extends Activity {  
    @Override  
    public void onCreate(Bundle savedInstanceState) {  
        super.onCreate(savedInstanceState);  
        WebView wv;  
        wv = (WebView) findViewById(R.id.webView1);  
        wv.loadUrl("file:///android_asset/aboutcertified.html");   // fails here
        setContentView(R.layout.webview);  
    }  
}
</code></pre>

<p>I don't really get any telling errors in LogCat...</p>
