Android way to download and immidiately show data
Imagine that you 开发者_JAVA百科have data on the server. You should download some XML, parse it and show in activity without saving this data into database.
Which way of async operations you will use to download data and how you will pass it to activity?
When you download ascii files they are read in to a string (http://www.helloandroid.com/tutorials/how-download-fileimage-url-your-device) which can then be parsed (http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html). This method never saves data to external storage. It would only exist in RAM.
精彩评论