webMethods Mobile Suite  | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Creating Mobile Application Projects | Setting Up a Mobile Application Project | Sample Projects Provided with Mobile Designer | Library JSON
 
Library JSON
The Library JSON sample project is an example of a library project. It demonstrates how you can precompile parts of your codebase into separate libraries that you can then reference in another project. Specifically, this project uses third-party JSON Java code. For more information about creating and using libraries, see Linking to External (3rd Party) Native Libraries/Frameworks.
You compile the project for the target platforms for which you want to use the library. A library project’s build.xml references libtargets.xml rather than targets.xml. The target libraries for this sample project are J2ME (for Phoney), Android, and iOS. To use this sample project, you can import it, then cross-compile and build the library using the +Library-Build Ant task.
Note: For a sample of a project that references this library, see the NativeUI JSON sample project.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.