Podio Android | Compiling it into a .jarAnswered
I use Xamarin to develop mobile applications. I want to include the .jar library into my project, the issue is that I don't know the basic requirement to compile the project into a JAR as mentioned below.
How do you launch the "Ant build script"? Any reference I could follow to help this issue?
The provided Ant build script gives you the option of building a JAR file by executing the ant clean jar command from the SDK root. You can then add the podio-sdk.jar file to your existing Android projects libs folder (don’t forget to also manually copy the Volley and Gson JARs to your libs directory as they are not included in the podio-sdk JAR).
Thank you for any feedback! GoPodio!
Building the Podio Android SDK jar requires you to (of course) have the
anttool installed. Apache has a quite extensive instruction set on how to install
anton different platforms (http://ant.apache.org/manual/install.html).
Once you have
antinstalled and configured properly you should open a terminal ("console" on Windows?) of choice and find the Podio Android SDK source folder (
[YOUR_SOURCE_DIRECTORY]/android-sdk/sdk/) and from there you should simply issue the
ant clean jarcommand.
I hope this answers your question :-)
If anyone sees this post, know that there is a .NET implementation of the Podio SDK available on NuGet. It doesn't support the PCL framework yet, but I'm sure that's bound to change or at least to have a "PortablePodio" NuGet package.
Please sign in to leave a comment.