I am getting huge data f开发者_Python百科rom a database and I have to display the data in a table form. Please provide me a way to get the data from the web service and display it in a table.
You should get data from web and parse it then put all the data on map/list/arrays then create custom list according to your need then put this data structure in listview.
Your best bet is to actually use HTTP client or url connection with a buffer for reading to get the data (search on google for tutorials and examples). also be sure to set a larger timeout because you will be pulling a lot of data. then depending on the format of your data start parsing it, maybe store it in a database, Arraylist or something like that and then make a list with an adapter to show the data.
Url connection
hope this helps.
精彩评论