作者热门文章
- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
我在 sqlite3 有几个 html 页面,它们与特定的 id 连接。我如何在运行时从 sqlite 动态加载 html?
最佳答案
您可以通过将 html 页面标签全部保存到一个字符串中,然后使用方法来做到这一点:
txt.setText( Html.fromHtml(s));// where s is string which has your html page content
关于android - 如何从sqlite3加载html文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4827643/
我是一名优秀的程序员,十分优秀!