File not found error in Android
<p>I have two folders inside my assets folder which contains 3 html files. I am loading one of this HTML file in a webview and inside this file I am referring other two files using href. When I run this code and click on this link inside the webview I am getting an error in the webview that It cannot find the file. How should I give the path of the file. I am just giving the file name only because it  is in the same path as the referring HTML file.
What am I doing wrong?</p>

<p>This is inside my html file.</p>

<blockquote>
<pre><code>Functions &lt;a href="android.resource://com.com.com/assets/begin.html"&gt;begin()&lt;/a&gt;
</code></pre>
</blockquote>

<pre><code>&lt;a href="android.resource://com.mypack.test/assets/begin.html"&gt;begin()&lt;/a&gt;

&lt;a href="file:///android_asset/begin.html"&gt;begin()&lt;/a&gt;
</code></pre>

<p>I tried both didn't work</p>

<p>I am trying to get the begin.html file.</p>

<p>This is my java code </p>

<pre><code> WebView web = (WebView)findViewById(R.id.webview);
        String str = readFile(parent_folder +"/"+ folder_name);
        web.loadData(str, "text/html", null);
</code></pre>

<p>readFile() reads the HTML file and returns the contents.</p>

<p>inside this webview I am linking to another html file inside the assets folder.</p>
