开发者

Absolute path of assets folder

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜