Skip to main content

Mobile Python: Rapid prototyping of applications on the mobile platform

Mobile Python: Rapid prototyping of applications on the mobile platform

Jürgen Scheible, Ville Tuulos

ISBN: 978-0-470-51802-1

Feb 2008

348 pages

$44.99

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

 

Contributors.

About the Authors.

Authors’ Acknowledgments.

Symbian Press Acknowledgments.

Forewords.

1. Introduction and Basics.

1.1 Why Does Python Make a Difference?

1.2 How to Use this Book.

1.3 Who Is this Book For?

1.4 What Are Symbian OS, S60 and Python for S60?

1.5 Python Terminology in this Book.

1.6 Democratizing Innovation on the Mobile Platform.

1.7 The Process of Rapid Prototyping with Python S60.

1.8 Summary.

2. Getting Started.

2.1 Installing Python for S60 on 3rd Edition Devices. 

2.2 Installing Python for S60 on 2nd Edition Devices.

2.3 Writing a Program in Python for S60.

2.4 White Space in Python Code.

2.5 Troubleshooting.

2.6 Summary.

3. Graphical User Interface Basics.

3.1 Using Modules.

3.2 Native UI Elements – Dialogs, Menus and Selection Lists.

3.3 Messages.

3.4 Summary.

4. Application Building and SMS Inbox.

4.1 Functions.

4.2 Application Structure.

4.3 String Handling.

4.4 SMS Inbox.

4.5 SMS Game Server.

4.6 Summary.

5. Sound, Interactive Graphics and Camera.

5.1 Sound.

5.2 Keyboard Keys.

5.3 Graphics.

5.4 Camera.

5.5 Mobile Game: UFO Zapper.

5.6 Summary.

6. Data Handling.

6.1 File Basics.

6.2 Reading and Writing Text.

6.3 Local Database.

6.4 GSM and GPS Positioning.

6.5 Vocabulector: A Language-Learning Tool.

6.6 Summary.

7. Bluetooth and Telephone Functionality.

7.1 Bluetooth Pairing.

7.2 OBEX and RFCOMM.

7.3 Phone-to-Phone Communication.

7.4 Phone-to-PC Communication.

7.5 Communication with GPS and Other Devices.

7.6 Telephone Functionality and Contacts.

7.7 System Information.

7.8 Summary.

8. Mobile Networking.

8.1 Simple Web Tasks.

8.2 Setting up the Development Environment.

8.3 Communication Protocols.

8.4 Server Software.

8.5 Pushing Data to a Phone.

8.6 Peer-to-Peer Networking.

8.7 Using a Phone as a Web Server.

8.8 Summary.

9. Web Services.

9.1 Basic Principles.

9.2 MopyMaps! Mobile Yahoo! Maps.

9.3 Eventful: Finding Eventful Events.

9.4 InstaFlickr: Shoot and Upload Photos to Flickr.

9.5 Summary.

10. Effective Python for S60.

10.1 Powerful Language Constructs.

10.2 Introspection.

10.3 Custom Modules and Automatic Updating.

10.4 Program Patterns.

10.5 Summary.

11. Combining Art and Engineering.

11.1 MobiLenin.

11.2 Manhattan Story Mashup.

11.3 MobileArtBlog – Image-Composition Tool.

11.4 ArduuinoBT Micro-Controller Board.

11.5 Controlling Max/MSP with a Phone.

11.6 OpenSound Control.

11.7 Robotics.

11.8 Summary.

Appendix A: Platform Security.

Appendix B: Bluetooth Console.

Appendix C: Debugging.

Appendix D: How to Use the Emulator.

References.

Glossary.

Examples.

Python Language Lessons.

Python for S60 Modules.

Index.