Android web service access using Async Task

In Android we can use Async Tasks to perform background activities without interrupting main gui thread. So it is ideal for the tasks like web service accessing in Android. In this post I'm going to demonstrate a very simple application which uses Async Task to access soap based web service. Here I access .NET web service Currency Converter provided by http://www.webservicex.net/


To create this application you need to have ksoap2 libaray. 
(You can download latest version of ksoap2 from here : http://code.google.com/p/ksoap2-android/wiki/HowToUse?tm=2 click the url under "with a direct download url of ").

To import ksoap2 to the java build path follow steps mentioned here.  

Here is the quick demo of the application.


Comments

Popular posts from this blog

NICOSIA