Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

3. Building Kindle Fire Applications > Working with Dialogs

Working with Dialogs

The Kindle Fire screen has more display space available than many types of applications might need. Instead of creating a entirely new Activity to display a small amount of data, you may want to create a dialog instead. Dialogs can be helpful for creating simple user interfaces that do not necessitate an entirely new screen or activity to function. Instead, the calling activity dispatches a dialog, which can have its own layout and user interface, with buttons and input controls.

Table 3.2 lists the important methods for creating and managing activity dialog windows.

Table 3.2. Important Dialog Methods of the Activity Class

Image

Activity classes can include more than one dialog, and each dialog can be created and then used multiple times.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial