[android-developers] Progress Dialog box

2011-09-29 Thread nageswara rao rajana
Hi,

 I developed an application using soap which sends data to web
service.My request is this should be done in Progress spinner dialog box.I
searched and tested some code but, its force closing my application. So,
please any one provide me good sample code.

 Thanking you,
 nageswararao.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Progress Dialog box

2011-09-29 Thread Ratheesh Valamchuzhy
please paste your code .

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Progress Dialog box

2011-09-29 Thread nageswara rao rajana
 This is my soap code


SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
 envelope.dotNet=true;
 envelope.setOutputSoapObject(request);
 HttpTransportSE androidHttpTransport=new HttpTransportSE(
http://123.176.47.162:88/GMANBTWEBSRV/Service.asmx;);
   try
{
try
 {

   androidHttpTransport.call(
http://123.176.47.162:88/GMANBTWEBSRV/UpdateDevice;, envelope);
   SoapObject res = (SoapObject)envelope.bodyIn;
   //s = res.toString();
   s= res.getProperty(0).toString();


}
catch (UnknownHostException e)
{
Toast.makeText(getBaseContext(),Unable to reach the server. Unknownhost ,
Toast.LENGTH_LONG).show();
}

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en