需要从Android中的WCF WebService接收数组字符串并在ListView中显示
我真的需要你在WCF网络服务和android方面的帮助。 WCF web服务示例:需要从Android中的WCF WebService接收数组字符串并在ListView中显示,android,wcf,web-services,crud,Android,Wcf,Web Services,Crud,我真的需要你在WCF网络服务和android方面的帮助。 WCF web服务示例: public String[] checkLogin(string userName, string password) { string[] result; result = new string[] { "One", "Two", "Three", "Four" }; return result; } 我需要在ListView andr
public String[] checkLogin(string userName, string password)
{
string[] result;
result = new string[] { "One", "Two", "Three", "Four" };
return result;
}
我需要在ListView android站点中填充此字符串数组值。
有人举过例子吗?
提前感谢。使用arrray查看列表
[1]: http://www.ezzylearning.com/tutorial.aspx?tid=1763429
[2]: http://android.vexedlogic.com/2011/04/02/android-lists-listactivity-and-listview-ii-%E2%80%93-custom-adapter-and-list-item-view/