Chapter 13

Handling User Input

In This Chapter

  • Working with EditText widgets
  • Creating date and time pickers
  • Setting up alert dialog boxes
  • Validating user input

It's rare to find an application that does not allow user input. Users almost always need to interact with an application in one way or another — through the use of text, date pickers, time pickers, or any other input mechanisms, such as radio buttons or check boxes,. Although the input mechanism may provide a way for users to interact with your application, they won't be chit-chatting and spurring up small talk. User input, in this sense, refers to buttons, screen-dragging, menus, long-pressing, and various other options. In this chapter, I focus solely on user input in the form of free-form text, date and times, and alerts — the sort of input you're most likely to encounter in your Task Reminder application.

Get Android™ Tablet Application Development For Dummies® 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.