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
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 19. Android Native Development Kit > Building the user interface

19.4. Building the user interface

The UI for the application is modest. The things the UI must do include responding to two different buttons, one for taking a picture and one for calling the JNI functions. Beyond that, the code performs simple operations to display the various bitmap images. Let’s start by looking at the layout for this application.

19.4.1. User interface layout

The layout for this application is contained in the resource file main.xml, shown next.


  

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