Skip to Main Content
Sams Teach Yourself Android™ Application Development in 24 Hours, Second Edition
book

Sams Teach Yourself Android™ Application Development in 24 Hours, Second Edition

by Lauren Darcey, Shane Conder
July 2011
Beginner to intermediate content levelBeginner to intermediate
512 pages
12h 4m
English
Sams
Content preview from Sams Teach Yourself Android™ Application Development in 24 Hours, Second Edition

Hour 11. Using Dialogs to Collect User Input

What You’ll Learn in This Hour:

Working with activity dialogs

Using DatePickerDialog

Handling and formatting date information

Building custom dialogs

In this hour, you continue to add features to the Been There, Done That! settings screen. Specifically, you learn about Android activity dialogs and implement several within the QuizSettingsActivity class. Each dialog is specially designed to collect a specific type of input from the user. First, you implement a DatePickerDialog to collect the user’s date of birth and then you build a custom dialog to enable the user to change his or her password.

Working with Activity Dialogs

There is only so much screen real estate available on a device, but ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Sams Teach Yourself Android™ Application Development in 24 Hours

Sams Teach Yourself Android™ Application Development in 24 Hours

Lauren Darcey, Shane Conder

Publisher Resources

ISBN: 9780132786904Purchase book