Python Programming for Android Developers — A 4 day course
The course covers Python application development on Android phones.
It provides an introduction to the Python programming language, the installation of the Android Scripting Environment and Python and practical Python scripting for handling events, starting activities, making phone calls sending text messages, polling location and sensor data, text to speech, etc..
To bring the benefits of Python programming to the Android.
SL4A - Scripting Layer for Android (used to be called ASE - Android Scripting Environment)
- obtaining and installing
- building from source
- installing the Python interpreter
- installing SL4A on the Android Emulator
Python Programming - Essentials
- quick overview of basic syntax
- strings, lists and tuples
- mappings and sets
- errors and exceptions
- object oriented Python
- regular expressions
Driving the Android in Python
- overview of the SL4A API
- Android Facade
- practical examples
- location tracking
- accessing sensors
- accessing USB serial
- Python twittering
- changing phone settings
- sending and receiving SMS messages
- controlling and interacting with remote devices
- text to speech applications
- capturing camera pictures
- sending email
- Bluetooth scripting
Attendees are expected to have Java Android programming experience.
Python programming experience is not assumed as the course will start with an intensive introduction to Python programming.