title: Sliding from left to right to make call(like samsung contacts listview)
body: <p>I need to implement slide action event in my listview.</p>
  
  <p>Call event should happen if i slide from left to right in every component of the lsitview. Below is my link for my code. kindly provide some suggestions.</p>
  
  <pre><code>@SuppressWarnings("unused")
  public class CityList extends Activity{
      private static final String SOAP_ACTION = "http://com.kumaran/TestSericve";      
      private static final String METHOD_NAME = "getCityName";      
      private static final String NAMESPACE = "http://kumaran.com";      
      private static final String URL = "http://xxxxxxxxx.com?wsdl";
      ListView lv;
      ArrayList&lt;String&gt; cityName=new ArrayList&lt;String&gt;();
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.citylist);
          lv=(ListView)findViewById(R.id.listView1);
          SoapObject soapReq=new SoapObject(NAMESPACE, METHOD_NAME);  
          SoapSerializationEnvelope soapenv= new SoapSerializationEnvelope(SoapEnvelope.VER11);           
          soapenv.setOutputSoapObject(soapReq);           
          HttpTransportSE ht=new HttpTransportSE(URL);
          try
          {
              ht.call(SOAP_ACTION, soapenv);        
              SoapObject result=(SoapObject)soapenv.bodyIn;           
              for(int i=0; i&lt;result.getPropertyCount();i++){
                  cityName.add(result.getProperty(i).toString()); 
              }
              lv.setAdapter(new ArrayAdapter&lt;String&gt;(CityList.this,android.R.layout.simple_list_item_1,cityName));
              lv.setOnItemClickListener(new AdapterView.OnItemClickListener() {
                  public void onItemClick(AdapterView&lt;?&gt; arg0, View view,
                          int i, long l) {
                      String cityName=lv.getItemAtPosition(i).toString();
                      Pojo.setCityName(cityName);
                      Intent int1=new Intent(CityList.this,CustomerList.class);
                      startActivity(int1);
                  }
              });
          }
          catch(Exception e)
          {
              Log.e("Exception ", e.getMessage());
          }           
      }
  }
  </code></pre>