Making Apps Interactive: Intents, Event Handling, and Menus
User interface design is built upon the foundation of the Activity superclass as well as the View and ViewGroup superclasses, which you learned all about in the previous chapter. However, without any interactivity in your UI design, the usefulness of what you can do with your Android application is somewhat limited!
For this reason, I’m going to cover several fairly advanced concepts fairly early on in this book, such as how the Menu and MenuItem classes work in Android, as well as how Intent objects can be utilized to switch over to your Activity subclasses. Using Intent objects, you can switch between functional screens in your applications, each of which is defined ...