Adding Objects to a Mobile Project
In the Outline Editor, you add the following types of objects to a mobile project.
User interface objects, for example:
Views and dialogs
User interface controls, such as buttons, check boxes, tables, search fields, and text entry fields
Languages that the application supports
Services that you want to use in your mobile application. For example, you might want to add a service that you use to obtain data that your application displays.
To add an object to a mobile project
2. In the Model section of the Outline Editor, expand the outline so that you view the parent node where you want to add a child object.
3. To add a child object, right-click the parent node and select New Child > child_object, where child_object is the name of the child object you want to add.
The New Child list contains only objects that are valid children of the selected parent node.
To update the Java classes that
Mobile Development generates for the project so that your changes are represented in the generated sources, save the project and regenerate sources. For instructions, see
Generating Sources for a Mobile Project.
Related Topics