<p>The following html5 applications are allowed to read local files referred by "https://local/sdcard/..." where the "/sdcard/.." part is the full path of the file. The below applications <spanstyle="color:red">can auto choose any files as file objects</span>.</p>
<li>"https://local/..." applications (only possible with the option "<ahref="../offlinecache/index.html#">use offline resources</a>" and installed under the folder "sitecache/local/")</li>
<p><spanstyle="color:red">All files under the subfolder "app" can be automatically choosed as file objects by any web page</span>.</p>
</li>
<li>
<p><spanstyle="color:red">Local files (including binary files) can be processed by appending "?app=[html5 app url]" to the file urls.</span> Ex. "file:///..../xx.md?app=https://...../app.html" loads "app.html" first, then "app.html" processes the local file.</p>
<p>With the first approach, the html5 application is installed locally and can read any file allowed by the OS; while in the second approach, the html5 application can be either local or remote, and only files under the subfolder "app" can be accessed; The third approach allows easy access of other external resources (ex. local media).</p>
<p>Click to configure <ahref="../filecap/index.html#">default.filecap</a> to open local files, and to open remote files with the option "custom file handling":<br>
<p>Ex. "#offset=10000&500" will retrieve 500 bytes from offset 10000. Click the right arrow button to next page in all above file viewers.</p>
<p>By default, the subfolder "app" is created by clicking to install any of above html5 applications.</p>
<p>To make file management easier, users can symbolic link the subfolder "app" to any other locations as long as it is readable.</p>
<p>One way to configure "app" subfolder is as follows:</p>
<ul>
<li><ahref="i:15d:text/plain:toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app 2>&1:">Click to copy the command to the address bar</a></li>
<li>Press the home screen button of uweb browser bottom toolbar, so the home screen appears.</li>
<li>If you want "app" to be locations other than "/sdcard/Download/app", modify as you like.</li>
<li>Press "enter" on the address bar to execute the command.</li>
<p>In the above mdict search engine string, the dictionary files (mdx, mdd) must locate in the "app" subfolder under the configuration folder. In above example, the files "xxx.mdx" and "xxx.mdd" locate in the folder ".../app/mdict".</p>
<p>To make life easier, users can <ahref="../acmd/index.html#">link the "app" subfolder</a> to any public accessible folder.</p>
<p>Use the mdx scanning <ahref="../bookmark/index.html#">bookmark</a> to add mdict engines automatically, then cold start uweb browser to take effect.</p>