Generating Sources for a Mobile Project
To incorporate the changes you make to the Mobile Project’s model you need to generate the sources. When you generate sources,
Mobile Development generates Java classes for the mobile application. For a description of the Java classes that
Mobile Development generates, see
Java Sources that Mobile Development
Generates.
You should generate sources after you update a project, for example, by adding additional user interface objects to the project. You can generate sources from the Outline Editor or the Package Explorer.
The generated Java classes contain the current content of the Outline Editor. That is, they contain any changes that have not been saved yet.
To generate sources
From the Outline Editor: 2. In the Outline Editor, right click anywhere and select Generate Source Code > Application Model.
From the Package Explorer: 1. Locate the project in the Package Explorer.
2. Right-click the project node or any file in the project and select Generate Source Code > Application Model.
Note: | Selecting Generate Source Code > Application Model generates the source code for the Mobile Project based on the model you define in the Outline Editor. If you select Generate Source Code > Application Model and API, Mobile Development also generates the Mobile Development API in the gen/api-src folder. |
Related Topics