Podio Android | Compiling it into a .jar
AnsweredI 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!
-
Hello Vincent!
Building the Podio Android SDK jar requires you to (of course) have the
ant
tool installed. Apache has a quite extensive instruction set on how to installant
on different platforms (http://ant.apache.org/manual/install.html).Once you have
ant
installed 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 theant clean jar
command.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.
https://github.com/podio/podio-dotnet/issues/7
Please sign in to leave a comment.
Comments
2 comments