Chapter     7

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 ...

Get Android Apps for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.