Chapter 9. Python GUIs with HTML

This chapter will take a look at the options available for building graphical user interfaces (GUIs) with SL4A based on CSS, HTML, JavaScript, and Python.

Note

This chapter will discuss the use of CSS, HTML, and JavaScript to build applications that present real-world user interfaces. Some background in these areas would be helpful if you have it, but it's not essential.

Here are the main topics for this chapter:

  • HTML GUI basics

  • Using cascading style sheets (CSS) to add some formatting to the HTML

  • Creating commercial-quality user interfaces with CSS, HTML, JavaScript, and Python

The basic approach here uses HTML and JavaScript to build the user interface (UI) and then Python behind the scenes to handle any additional ...

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.