¡@

Home 

2014/10/16 ¤W¤È 08:14:41

android Programming Glossary: html_no_copy

Displaying Android asset files in a WebView?

http://stackoverflow.com/questions/5320288/displaying-android-asset-files-in-a-webview

to display html and included css files stored in the project assets. I have found that wv.loadUrl file android_asset html_no_copy demo_welcome.html displays that file okay but links in demo_welcome.html either local no url prefixing the file name or.. error displayed on the view. WebView wv WebView this.findViewById R.id.splashWebView wv.loadUrl file android_asset html_no_copy test.html Works or wv.loadUrl file android_asset html_no_copy demo_welcome.html Works But neither of the following links.. R.id.splashWebView wv.loadUrl file android_asset html_no_copy test.html Works or wv.loadUrl file android_asset html_no_copy demo_welcome.html Works But neither of the following links in demo_welcome.html work a href test.html CLICK HERE a p a href..