You are previewing Mobile Python: Rapid Prototyping of Applications on the Mobile Platform.
O'Reilly logo
Mobile Python: Rapid Prototyping of Applications on the Mobile Platform

Book Description

Mobile Python is the introduction of Python programming language to the mobile space.  This practical hands-on book teaches readers how to realize their applic ation ideas on the Symbian OS. Programming on the Symbian mobile platform has been difficult and time consuming in the past.  This innovative new title will remedy this problem.

Chapters deal with topics that are based on Python S60 features and presented in an order that lets the user learn first the “simple to code” ones and then increasing in complexity.

Table of Contents

  1. Copyright
  2. Contributors
  3. About the Authors
  4. Authors' Acknowledgments
  5. Symbian Press Acknowledgments
  6. Forewords
  7. Introduction and Basics
    1. Why Does Python Make a Difference?
    2. How to Use this Book
    3. Who Is this Book For?
    4. What Are Symbian OS, S60 and Python for S60?
    5. Python Terminology in this Book
    6. Democratizing Innovation on the Mobile Platform
    7. The Process of Rapid Prototyping with Python S60
    8. Summary
  8. Getting Started
    1. Installing Python for S60 on 3rd Edition Devices
    2. Installing Python for S60 on 2nd Edition Devices
    3. Writing a Program in Python for S60
    4. White Space in Python Code
    5. Troubleshooting
    6. Summary
  9. Graphical User Interface Basics
    1. Using Modules
    2. Native UI Elements – Dialogs, Menus and Selection Lists
    3. Messages
    4. Summary
  10. Application Building and SMS Inbox
    1. Functions
    2. Application Structure
    3. String Handling
    4. SMS Inbox
    5. SMS Game Server
    6. Summary
  11. Sound, Interactive Graphics and Camera
    1. Sound
    2. Keyboard Keys
    3. Graphics
    4. Camera
    5. Mobile Game: UFO Zapper
    6. Summary
  12. Data Handling
    1. File Basics
    2. Reading and Writing Text
    3. Local Database
    4. GSM and GPS Positioning
    5. Vocabulector: A Language-Learning Tool
    6. Summary
  13. Bluetooth and Telephone Functionality
    1. Bluetooth Pairing
    2. OBEX and RFCOMM
    3. Phone-to-Phone Communication
    4. Phone-to-PC Communication
    5. Communication with GPS and Other Devices
    6. Telephone Functionality and Contacts
    7. System Information
    8. Summary
  14. Mobile Networking
    1. Simple Web Tasks
    2. Setting up the Development Environment
    3. Communication Protocols
    4. Server Software
    5. Pushing Data to a Phone
    6. Peer-to-Peer Networking
    7. Using a Phone as a Web Service
    8. Summary
  15. Web Services
    1. Basic Principles
    2. MopyMaps! Mobile Yahoo! Maps
    3. EventFu: Finding Eventful Events
    4. InstaFlickr: Shoot and Upload Photos to Flickr
    5. Summary
  16. Effective Python for S60
    1. Powerful Language Constructs
    2. Introspection
    3. Custom Modules and Automatic Updating
    4. Program Patterns
    5. Summary
  17. Combining Art and Engineering
    1. MobiLenin
    2. Manhattan Story Mashup
    3. MobileArtBlog – Image-Composition Tool
    4. ArduinoBT Micro-Controller Board
    5. Controlling Max/MSP with a Phone
    6. OpenSound Control
    7. Robotics
    8. Summary
  18. Platform Security
    1. Introduction
    2. Capabilities
    3. File System Protection
    4. SIS Package Signing
    5. Running Python for S60 Code under Platform Security
  19. Bluetooth Console
    1. Setting up Serial Communication
    2. Using Bluetooth Console
  20. Debugging
    1. Interpreting Tracebacks
    2. Debugging Procedure
  21. How to Use the Emulator
  22. References
    1. Book References
    2. Other Book-Related Information
    3. Python Tutorials and Documentation
  23. Glossary
  24. Examples
  25. Python Language Lessons
  26. Python for S60 Modules