Android 如何拆分从webservices返回的arraylist元素? 这是我的密码。我将webservices对象转换为arraylist,并在logcat中编写。我想拆分arraylist的每个元素。 还有我的网络服务 你想在哪里分手?数据来自服务器1-223

Android 如何拆分从webservices返回的arraylist元素? 这是我的密码。我将webservices对象转换为arraylist,并在logcat中编写。我想拆分arraylist的每个元素。 还有我的网络服务 你想在哪里分手?数据来自服务器1-223,android,web-services,split,Android,Web Services,Split,如何拆分从webservices返回的arraylist元素? 这是我的密码。我将webservices对象转换为arraylist,并在logcat中编写。我想拆分arraylist的每个元素。 还有我的网络服务 你想在哪里分手?数据来自服务器1-223.443-221.2343?我的问题是获取Web服务的字符串元素。返回的类型是来自webservice的arraylist。数据即将到来[anyType{anyType=1-223.443-221.2343;anyType=4-223.443-

如何拆分从webservices返回的arraylist元素? 这是我的密码。我将webservices对象转换为arraylist,并在logcat中编写。我想拆分arraylist的每个元素。 还有我的网络服务
你想在哪里分手?数据来自服务器1-223.443-221.2343?我的问题是获取Web服务的字符串元素。返回的类型是来自webservice的arraylist。数据即将到来[anyType{anyType=1-223.443-221.2343;anyType=4-223.443-221.2343;anyType=5-223.443-221.2343;}],但我只想得到1-223.443-221.2343和4-223.443-221.2343以及5-223.443-221.2343,它有=符号吗?您可以发布来自服务器的确切输出吗?您是否获得JSON格式的详细信息?我所有的服务器输出都在上面。asp.net中的我的Web服务。更改此`System.out.PrintLn itm1`包含以下元素:+itm1`为System.out.PrintLn itm1包含以下元素:+itm1[0]
httpTransport.call(degiskenler.SOAP_ACTION4, envelope);    

                    SoapObject result = (SoapObject) envelope.bodyIn;
                    int count = result.getPropertyCount();
                    ArrayList<String> simplifiedList = new ArrayList<String>(); 
                    for (int i = 0; i < count; i++)
                    {
                        simplifiedList.add(result.getPropertyAsString(i));
                    }

                    for (String itm : simplifiedList) {
                    String[] itm1=itm.split(";");
                          System.out.println("The itm contains the following elements: "
                                + itm);
                          System.out.println("The itm1 contains the following elements: "
                                    + itm1);
                    }

                    System.out.println("The arraylist contains the following elements: "
                                            + simplifiedList);
05-19 06:37:17.956: I/System.out(1423): The itm contains the following elements: anyType{anyType=1-223.443-221.2343; anyType=4-223.443-221.2343; anyType=5-223.443-221.2343; }
05-19 06:37:17.956: I/System.out(1423): The itm1 contains the following elements: [Ljava.lang.String;@b41f6ae0
05-19 06:37:17.966: I/System.out(1423): The arraylist contains the following elements: [anyType{anyType=1-223.443-221.2343; anyType=4-223.443-221.2343; anyType=5-223.443-221.2343; }]
<ArrayOfAnyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
<anyType xsi:type="xsd:string">1-223.443-221.2343</anyType>
<anyType xsi:type="xsd:string">4-223.443-221.2343</anyType>
<anyType xsi:type="xsd:string">5-223.443-221.2343</anyType>
</ArrayOfAnyType>