Friday, February 10, 2012

Import ksoap into an Android project in Eclipse.

ksoap is a SOAP API suitable for the J2ME, based on kXML. We can use ksoap in Android to access soap based web services easily. In this tutorial I'm not going to develop any web service. This will describe how to add ksoap in to your Android project when you are using Eclipse IDE.

Pre-requisites
1. Eclipse with ADT.
2. Android SDK.
3. ksoap (Click here to download ksoap2 jar file).

 
Adding ksoap is very easy. In the same way we can add any other library file.
Follow this steps to add ksoap2(or any other library file) in to existing Android project.

1. First download & copy ksoap2.jar in to documents or any other accessible directory. 
2. Right click on your Android project.
3. Select properties.
4. In properties window select Java Build Path > Libraries > Add External JARs.
5. Select ksoap2.jar file. Then click Open & finally click OK.

If there is any problem leave a comment.
Thank you!!!

7 comments:

  1. Thankx thats so good and easy way.

    ReplyDelete
  2. Isn't it enough, just copying the ksoap2 jar file to the libs directory directly.

    ReplyDelete
  3. Ι do not еѵеn κnow how I
    ended uρ here, but Ι thought thіs рost was great.
    I do not knoω who yоu are but dеfinitelу yоu're going to a famous blogger if you are not already ;) Cheers!
    Also see my site > facebook software engineer

    ReplyDelete
  4. What's up, I log on to your blogs on a regular basis. Your writing style is awesome, keep it up!
    My webpage : facebook tools download

    ReplyDelete
  5. Ѕtunning stoгy there. What happeneԁ after?

    Takе care!
    Review my web site :: facebook likes buy

    ReplyDelete
  6. WOW just what Ι was lοoking foг. Сame hеre by seaгching for
    tωіtter api
    Also see my web page: buy real facebook fans

    ReplyDelete
  7. Hi Chathura
    i tried u r project on my sustem Unfortunately,WSclient has stopped message is showing
    could u suggest any solution for this??
    thank you
    sri..

    ReplyDelete

Chathura's Blog