hi i have to developed one listview using soap calling.here i wish to implement one step..here i have to click any list means the detail description is display to next activity.how can i develop this.please help me..
this is my code:
public class RetailerActivity extends Activity {
ListView list;
private static final String SOAP_ACTION = "http://xcart.com/customerData1";
private static final String METHOD_NAME = "customerData1";
private static final String NAMESPACE = "http://xcart.com";
private static final String URL = "http://192.168.1.168:8089/XcartLogin/services/RetailerWs?wsdl";
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); 
    SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
    envelope.setOutputSoapObject(request);
    HttpTransportSE ht = new HttpTransportSE(URL);
    try {
        ht.call(SOAP_ACTION, envelope);
        SoapPrimitive response = (SoapPrimitive)envelope.getResponse();
        SoapPrimitive s = response;
        String str = s.toString();
        String resultArr[] = str.split("&");//Result string will split & store in an array
        list=(ListView)findViewById(R.id.list);
        TextView tv = new TextView(this);
        for(int i = 0; i<resultArr.length;i++){
        tv.append(resultArr[i]+"\n\n");
       }
        setContentView(tv);
    } catch (Exception e) {
        e.printStackTrace();
    }
}
 }
this is my webservice code:
public class RetailerWs {
public String customerData1(){
String customerInfo = "";
try{
Class.forName("com.mysql.jdbc.Driver");
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/xcart-432pro","root","");
 //Find customer information where the customer ID is maximum
 PreparedStatement statement =  con.prepareStatement("SELECT * FROM xcart_orders");
 ResultSet result = statement.executeQuery();
 while(result.next()){
customerInfo = customerInfo + result.getString("orderid") + "&" + result.getString("status");
    //Here "&"s are added to the return string. This is help to split the string in Android application
   }
   }
 catch(Exception exc){
   System.out.println(exc.getMessage());
 }
return customerInfo;
}
  }
now i have to run the app means the orderid and status is fetched from database and displayed on my android app.here i wish to implement i have to click whichever order means that order status is displayed next activity.how can i develop this.please help me.
 
     
     
    