- In the Project view, right-click the destination package where the application classes are stored.
- On the context menu, click , then choose Android Component on the submenu.
- In the New Android Component dialog box that opens, specify the following:
- In the Name text box, type the name of the class that implements the component.
-
From the Kind drop-down list, choose the desired component type:
- Activity
- Service
- Broadcast Receiver
- Android Remote Interface
- In the Label text box, type the component title to be displayed to the user.
Note
- If no title is specified, the label assigned to the entire application will be displayed.
- No label is specified for a remote interface.
- For an Activity, select the Mark as startup activity check box to have the activity displayed by default when the application starts.

are components that interact with the user.