tags:

views:

76

answers:

1

Hi,

I am adding ksoap2-j2se-full-2.1.2.jar as external jar into Android project & accessing the SOAP API to access .NET webservices from Android application. The size of the ksoap2-j2se-full-2.1.2.jar is 96 KB & so I dont want to increase the size of the Android application by using the external jar.

Kindly provide an alternate option by which we can access the .NET webservice from Android application so that the size of the Android application get reduced.

Warm Regards,

Chiranjib

A: 

You can reduce the size of the code added to only what is actually needed by using Proguard. You could also use proguard with the maven android plugin if you are building your app with maven. Also if you are using it on Android you should be using the latest release (2.5.1) of the ksoap2-android project. And yes, imho it is worth the additional size for a reasonable app talking to a few web services or if you need to get things working sooner rather than later.

Manfred Moser