gpt4 book ai didi

android - 如何从sqlite3加载html文件?

转载 作者:搜寻专家 更新时间:2023-11-01 09:15:49 25 4
gpt4 key购买 nike

我在 sqlite3 有几个 html 页面,它们与特定的 id 连接。我如何在运行时从 sqlite 动态加载 html? enter image description here

最佳答案

您可以通过将 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com