O'Reilly logo

Pro Android Python with SL4A by Paul Ferrill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required