vijay

welcome Netizen

Share Your Knowledge.It is a way to achieve immortality

Monday, June 25, 2012

Adding ksoap2 jar file or Using soap service for android development


Recently i have been working with an android application, so here i share some tutorial about android application development

Now i share about to add KSoap2 android assembly jar file in ecclipse, By connecting  web service to android web application, we must import the following namespace.

import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.transport.HttpTransportSE;

so before import the namespace we must add the KSoap2 android assembly jar file

Using the below links you can get the jar file
or
you need any  higher version use the below link to get the latest version

Once you download the ksoap jar file, you must add the jar file inside the project folder.

·         Check the libs folder found on your project folder, if it’s not then create a new folder with name libs.
·         And copy ksoap jar file into the libs folder.
·         Right click the ksoap Jar file click Build path --->Add to build path
·         Then the ksoap jar files into android dependencies.

That’s it work has been done. This is the correct way to add the jar file.
Now you can import namespace work with your web service project
Coming post i have explained details about use web service in android application.
Happy coding….Keep Reading

0 comments:

Post a Comment