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 7. Python Scripting Utilities

This chapter will take a look at how to use Python to accomplish different utility tasks with SL4A. On a typical PC, these would fall into the command-line utility class of programs.

Note

The version of SL4A used when writing this chapter was based on Python 2.6.2. All examples in this chapter were tested with Python 2.6.4 on a Windows 7 64-bit machine and on an Android 2.2–based emulator.

Time to dive in. Here's a list of what this chapter will examine:

  • Python libraries and how to use them

  • E-mail–based applications

  • Location-based applications

  • Web servers for transferring files

Python Libraries

There are an enormous number of libraries available for the Python language to accomplish everything from manipulating MP3 ...

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