This is all the code and definitions necessary to make our menus work. You saw that our strategy for menus included a design preference for making menu items completely disappear if the application is present on a device that doesn’t use the feature (as in sending). There was also a display problem with Graffiti shortcuts that you needed to work around in your code.
At this point, the Sales application is almost complete—you have all the essential UI elements and code in place. Just a few important bits are left. You still need to add support for Find and beaming.