Chapter 6. Background Scripting with Python

This chapter will take a look at creating scripts that use Scripting Layer for Android (SL4A) with no user interface and are meant to be run in the background.

Here are the main topics for this chapter:

  • Writing scripts that perform specific tasks in the background

  • Demonstrating different functional aspects of SL4A

Python has a reputation as a language for developing scripts to do basic functional tasks quickly and efficiently. This chapter will show you how to build scripts that perform specific operations with essentially no intervention. So the scripts in this chapter will have no user interface to speak of. While there might be some status information if you launch the script in a terminal window, there ...

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.