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.

Note

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 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.