How do I reference the assets from phone memory? I need it to write the absolute path 开发者_开发知识库into a html file to load some images which are in assets folder. This html is saved in the phone memory but I can't to save these images in the memory phone because these are very big.
file:///android_asset/...
, where ...
is the stuff inside your assets/
directory. Note that will only work within your own process, so you can load the HTML into a WebView
this way, but not into the Browser application.
精彩评论