小编RBR*_*RBR的帖子

在 ANDROID 浏览器中加载 HTML 代码

String url = "<html><body>hello World</body></html>";
    Intent i = new Intent(Intent.ACTION_VIEW);
    i.setData(Uri.parse(url));
    startActivity(i);
Run Code Online (Sandbox Code Playgroud)

如何在浏览器中加载 HTML 源代码?请举例说明。

android android-intent

2
推荐指数
1
解决办法
3167
查看次数

标签 统计

android ×1

android-intent ×1