ksoap2 library in Eclipse

479 views
Skip to first unread message

Lucio Crusca

unread,
Jan 18, 2011, 3:42:57 AM1/18/11
to ksoap2-...@googlegroups.com

Hello *,


I'm new here, new to Eclipse, new to Android and new to mobile devices

software development in general. I usually use NetBeans, but it seems Eclipse

has more support for Android. Please be patient if I ask silly questions.


I'm trying to add ksoap2-android library in my Eclipse (Helios) project. I'd

like the library to be bundled within my application when I deploy it.

I've tried to follow these steps [1] using the alternative third step ("Add

Libray..." instead of "Add jars..."). I've created a "libs" subfolder in my

project and copied "ksoap2-android-assembly-2.5.2-jar-with-dependencies.jar"

there.


However when I create a new User Library and then add the jar file, the new

"ksoap2-android" library in Eclipse shows up with a red X sign, and the import

of the library packages does not work. If I remove the jar from the library

the red X sign goes away, but then again I can't import org.ksoap2.* nor other

packages that come with it.


What am I doing wrong?


Thanks in advance

Lucio.


[1].

http://developer.android.com/guide/appendix/faq/commontasks.html#addexternallibrary


P.S. and OT: is there a reason why I can't send messages to this list using my mail client instead of the gmail webmail interface? (If I do, they get lost in the oblivion of some network server...)

NB

unread,
Jan 29, 2011, 12:45:46 AM1/29/11
to ksoap2-android
Pls look at my blog - http://naveenbalani.com/index.php/2011/01/invoke-webservices-from-android/
on how to set this up and invoke web services via Android. Hope this
helps.


On Jan 18, 1:42 pm, Lucio Crusca <lucio.cru...@gmail.com> wrote:
> Hello *,
>
>  I'm new here, new to Eclipse, new to Android and new to mobile devices
>
> software development in general. I usually use NetBeans, but it seems
> Eclipse
>
> has more support for Android. Please be patient if I ask silly questions.
>
>  I'm trying to add ksoap2-android library in my Eclipse (Helios) project.
> I'd
>
> like the library to be bundled within my application when I deploy it.
>
> I've tried to follow these steps [1] using the alternative third step ("Add
>
> Libray..." instead of "Add jars..."). I've created a "libs" subfolder in my
>
> project and copied "ksoap2-android-assembly-2.5.2-jar-with-dependencies.jar"
>
> there.
>
>  However when I create a new User Library and then add the jar file, the new
>
> "ksoap2-android" library in Eclipse shows up with a red X sign, and the
> import
>
> of the library packages does not work. If I remove the jar from the library
>
> the red X sign goes away, but then again I can't import org.ksoap2.* nor
> other
>
> packages that come with it.
>
>  What am I doing wrong?
>
>  Thanks in advance
>
> Lucio.
>
>  [1].
>
> http://developer.android.com/guide/appendix/faq/commontasks.html#adde...
Reply all
Reply to author
Forward
0 new messages