Using Native Tools to Create the Final Binary
If you want to use platform-specific, native tools to create the final binary and package your application, you can use the Mobile Designer +Multi-Build or +Target-Build Ant target to build your project, but have Mobile Designer skip compiling your project into binary and packaging your application for the target device. You can move the cross-compiled code and platform-specific project that Mobile Designer creates to the platform-specific tool to create the final binary.
For information about the actions that
Mobile Designer performs to build your project, including the actions that
Mobile Designer skips when you perform the following procedure, see
Build Process Overview.
To use native tools to create the final binary for your project
2. Start the build using one of the following Ant targets:
Be sure you select the Retain output build files in the Multi Build dialog.
Be sure you set the retain option to true.
3. After the build is complete, locate the cross-compiled code and platform-specific project.
When Mobile Designer builds your project, it adds a Builds folder to your project folder. Within the Builds folder, Mobile Designer creates a _temp_ folder for each device. The cross-compiled code and the platform-specific project reside within the _temp_ folder:
project/Builds/x.y.z/device/_temp_
In the folder location above:
project is the name of your project.
x.y,z is the version number you specified for the build.
device is the name of a device for which
Mobile Designer built your application.
You can find the cross-compiled code and the platform-specific project in the _temp_/_language_ folder. If you created a patch file for the application, you can find the patched versions in the _temp_/_language_edit_ folder. For example, for an Android build, you can find the cross-compiled code in the _temp_/_java_ folder, and if a patch was applied, the patched version of the code is in the _temp_/_java_edit_ folder.
4. Copy the files you need to create the final binary to the platform-specific, native tool. Then use the native tool to create the final binary.