在android中显示来自url的消息
我需要在 Android 应用程序的文本视图中使用 URL 显示消息和名称。我该怎么办呢。请指导我示例代码/链接。
谢谢。
I need to display message and name using URL in Text view in android application. How can i do that. Please guide me a sample code/link.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该使用 AsyncTask 从指定的 URL 获取所需的数据,然后解析并显示它。
在这里阅读:http://developer.android.com/reference/android/ os/AsyncTask.html
You should use an AsyncTask to get the data you need from the specified URL and then parse it and show it.
Read about it here: http://developer.android.com/reference/android/os/AsyncTask.html
//你想要这样吗
//do u want like this