如何使用搜索字符串搜索维基百科并获取数据,在我的应用程序中解析和显示......?
全部 我在谷歌中搜索过这个,但我对很多网站感到困惑,这些网站没有找到明确的逐步程序。
如果有人有想法,所有需要做的事情是什么。请指导我...!
提前致谢。
all
I have searched this in google, but I confused with lot of sites which are no clear step by step procedure I found.
If any have Idea what are all the things need to be done. Please guide me...!
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这看起来类似于“Beginning Android”书中的演示应用程序。他们将在那里创建 http 请求并将数据发送到服务器。他们将获得 HTML 响应,在其中解析数据并向用户显示。
主要问题是,如果你对标签名称进行硬编码,将来如果它发生变化,那么你的应用程序可能无法工作。因此最好检查是否有任何可用于维基百科应用程序的库(jar 文件)。并尝试利用它。
问候,
S苏曼185
This looks similar the demo app in "Beginning Android" book. There they will create the http request and will send data to the server. They will get a HTML response, in which they will parse the data and displays to the user.
The main problem is, if u hard code the tag names, in future if it gets changes, then your app may not work. So better check whether there is any library (jar file) available for the wikipedia app. and try to make use of that.
Regards,
SSuman185