我希望从webservice到android gridview的返回数据集使用KSoap2 [英] I Want the return dataset from webservice to android gridview Using KSoap2
本文介绍了我希望从webservice到android gridview的返回数据集使用KSoap2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
上。我是新的Android我希望xml格式的返回数据集从webservice到android gridview ..这里使用asp.net中的webservice,我希望webservice响应在android gridview中绑定..请任何人帮助我..请帮助我通过提供示例应用程序
Hai. Am New To Android i want the return dataset in xml format from webservice to android gridview.. Here am using webservice in asp.net, and i want that webservice response to bind in android gridview.. please anyone help me..please help me by giving sample application
推荐答案
hi,
您需要返回String< list>然后绑定到gridview。
you need to return String<list> and then bind to gridview.
简单的解决方案:
从Web服务中你需要返回JSON并绑定到表
之类的:
simple solution:
From web-service you need to return JSON and bind to table
like:
tableRow.addView(text);
tableRow.addView(button);
tableLayoutObject.addView(tebleRow);
还检查以下链接:
http://www.heikkitoivonen.net/blog/2009/02/15/multicolumn-listview-in-android/ [ ^ ]
看到这个,
从最简单的Android应用程序调用ASP.NET Webservice(ASMX) [ ^ ]
http://android.programmerguru.com/how-to-call-asp- net-web-service-in-android / [ ^ ]
< a href =http://typicaljava.blogspot.in/2012/01/how-to-call-asp-net-web-service-in.html> http://typicaljava.blogspot.in/2012/01 /how-to-call-asp-net-web-service-in.html [ ^ ]
在哪里可以与ASP交谈Android的.NET Web服务。
-KR
See this,
Calling ASP.NET Webservice (ASMX) from an Android Application, the Simplest Way[^]
http://android.programmerguru.com/how-to-call-asp-net-web-service-in-android/[^]
http://typicaljava.blogspot.in/2012/01/how-to-call-asp-net-web-service-in.html[^]
where you can talk with ASP .NET Web Service from Android.
-KR
这篇关于我希望从webservice到android gridview的返回数据集使用KSoap2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文