Chapter 8. Python Dialog Box–based GUIs

This chapter will take a look at the options available for building dialog box–based graphical user interfaces (GUIs) with SL4A.


This chapter will discuss the use of the Android dialog box API functions to build applications that present real-world user interfaces. Some background in these areas would be helpful but not absolutely required.

There are two basic approaches to user interaction with SL4A. First, there are the Android API calls for using the stock dialog boxes such as alerts. This is the easiest and most straightforward way to present information to the user and receive input back. We'll cover this method here. The second approach uses HTML and JavaScript to build the user interface (UI) and ...

Get Pro Android Python with SL4A now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.