Android应用程序从一个网站retreive图片和文字 [英] Android app to retreive images and text from a website
问题描述
我想打一个Android应用程序,检索列表和图像从网站,显示并获取即时更新它,林深谙三维显示,并有Java..What方面的知识,我需要知道的?
I want to make an android app that retrieves a list and images from a website,displays and get updates it ,Im well versed in d display and have knowledge of Java..What would I need to know?
推荐答案
确定,所以你想从网上获取信息,并将其存储在一个ListView?
Ok so you want to retrieve information from the internet and store it in a ListView?
您可以从互联网上通过XML分析得到的数据: 1.你凑使用DOM解析 2. SAX解析 3.或者最有效的方式,拉解析
You can get data from the internet by XML Parsing: 1. You cou use DOM Parsing 2. SAX Parsing 3. Or the most efficient way, Pull Parsing
您可能必须自己更新;或者你可以解析的网站,这是比较困难的,但其可能的,如果你使用类似 jSoup
You may have to update it yourself; or you could parse the website, this is more difficult but its possible, if you use something like jSoup
有一个伟大的教程了解PullParsing在Android开发网站。
There is a great tutorial for PullParsing on the Android Dev Site.
也有很多关于列表视图和检索图片教程。例如。 这
There are also a lot of tutorials about ListViews and retrieving images. E.g. this
如果你希望有人接听,提供更多的信息和你已经尝试下一次。
Next time if you expect somebody to answer, provide more information and what you have already tried.
这篇关于Android应用程序从一个网站retreive图片和文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!