Building a JNI Universal Application with Xcode

“The Java Native Interface lets developers mix Java code with C or C++ source code. It provides access to platform-specific features that Java does not provide, so that Java applications on Mac OS X can take advantage of the wide range of powerful Apple-only technologies to provide the best possible user experience. Using the JNI, your Java application can access a user’s Address Book, make Spotlight queries, take advantage of Core Image and Core Video, and leverage many other rich features unique to Mac OS X. This step-by-step tutorial explains how to use the JNI to integrate Java and C code using a single Xcode project with multiple targets.”