Changes

Jump to: navigation, search
no edit summary
=== 74. Add Menu to the Application ===74.1. Open <code>ViewStudentApp</code> class and add menu items inside the constructor.<br/>74.2 Add add, edit and delete student options to the menu and set commands to execute:
<pre>
MyScreen _mainScreen = new MyScreen(this);
pushScreen(_mainScreen);
</pre>
74.3. Create inner classes to execute all commands:
<pre>
}
</pre>
74.4. Run the application. Click on the menu you should see the following:<br/>
[[Image: BB_Menu.png | 300px]]<br/>
74.5. Select one of the menu options. The pop-up message should appear:<br/>
[[Image: BB_Menu2.png | 300px]]
1
edit

Navigation menu