Linking to External (3rd Party) Native Libraries/Frameworks
You can link an application to an external native library or framework using the addExtraLibs Ant task. This task may be used in _defaults_.xml or the individual handset targets themselves. For <addExtraLibs>, you must set the platform attribute. Inside this tag, libraries can be defined using <library>. You must specify a name attribute that points to the name of the library or framework to be used. It must end with the correct file extension: .framework for a framework, .dylib for a dynamic library, and .a for a static library.