In this chapter, we will see how to present a user with a pop-up dialog window. We can then put all we know into the first phase of our first app, Note To Self. You will learn about new Android and Java features in this chapter and the next five chapters as well, and we will use your newly acquired knowledge to enhance the Note To Self app each time.
In each chapter, we will also build a selection of mini apps that are separate from this main app. So, this chapter holds the following in store for you:
How to implement a simple app with a pop-up dialog box
How to add
DialogFragments
to start the Note To Self appHow to add resources such as Strings and graphics to a project
How to use Android naming conventions for the first time to make our code more readable
How to implement more complex dialog boxes to capture input from the user
Let's get started.