<div dir="ltr"><div><div>Hi Dave,<br><br></div>The JNI functions in KiwiNative.cpp, which implements the KiwiNative.so JNI library, were written by hand, not with SWIG. The SWIG work is experimental, you can find it on the swig branch of the stage remote:<br>
<br>git remote add stage git://<a href="http://vtk.org/stage/VES.git">vtk.org/stage/VES.git</a><br>git checkout swig<br><br>If you inspect the top commit of this branch, you'll see it adds a kiwi.i file and a notes.txt file. The notes.txt file explains how to generate python and Java bindings, and how to run python and java examples. All the paths are hard coded for my machine, so you'll have to fix it for your computer. You might want to cherry-pick the commit onto your current working branch rather than checkout the swig branch.<br>
<br></div>Pat<br><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 12:58 PM, <span dir="ltr"><<a href="mailto:DEB63@pitt.edu" target="_blank">DEB63@pitt.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
During the webinar for Android app building with VES and Kiwi, it was<br>
mentioned that SWIG can be used to help automate the generation of the<br>
native code interface from Cpp to Android. Was Swig used to generate<br>
the native interface for the Android KIWI viewer demo app? If so, could<br>
you share the contents of the swig *.i interface file that was used to do<br>
this, as well as the SWIG build switches that were used to invoke swig?<br>
<br>
Thanks<br>
<br>
Dave Busch<br>
<br>
<br>
_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
</blockquote></div><br></div>