Python for Series 60 tutorial

by Jurgen Scheible (c) 2006-2009

My Message to all you creative and innovative people out there: Use your talent, skills, ideas and energy to inspire the world!

May this tutorial help you to do so!

I plan to update and improve this tutorial frequently, so stay tuned. Latest update: 5.11.2009

Book:
Mobile Python - Rapid prototyping on the mobile platform

During this spring and summer I wrote this book together with Ville Tuulos. It includes over 100 inspiring and fully working Python for S60 application examples and many Python language lessons. It also holds a foreword by Guido van Rossum and Eric von Hippel. The book is published
by Wiley. I hope you will have great fun with this book! You can get the book from Amazon or Wiley.



Code snitppest for MobileMusic workshop Amsterdam May 2007


Menu PyS60 tutorial:

Basics:


Download and installation of PyS60
Intro
Which PyS60 interpreter fits my phone model?
OLD PyS60_download and installation site on S60 2nd and 3rd edition devides (till version 1.4.5 only)
How to write a Python for S60 script and test it
Python for S60 download on Sourceforge
Python syntax_info

 

UI widgets, menu etc.:


ex_text_input_1
ex_text_input_2
info_dialogue_notes
ex_popup_menu
info_popup_menu_selection_list

 

SMS and MMS:


ex_sms_sending
ex_sms_receiving

ex_mms_sending

 

Text to Speech (& SMS to speech):


ex_text_to_speech_1
ex_sms_to_speech.htm

 

Application basics:


ex_defining_a_function
info_ how_to_build_an_pys60_app
ex_application_menu_1
ex_application_menu_2
info_tabs_forms

 

Sound recording / playing:


ex_sound_recorder_player
mobile midi player - PyS60 piano

 

Bluetooth:


ex_bluetooth_mobile_to_pc
info_bluetooth

send_pic_phone_phone
bt_pic_send

 

OS read/write:


info_os

 

Networking:


ex_download_of_video
ex_download_of_image
ex_upload_file_to_url
ex_upload_image_to_url
ex_upload_image_to_database
info_networking

setting default access point - also for WLAN

 

Keyboard keys:


ex_use_of_keys
ex_extended_use_of_keys
info_keyboard_keys

 

Graphics drawings:


ex_graphics_drawing
ex_extended_graphics_drawing

 

3D Graphics OpenGL ES:


ex_3d_cube_simple

 

Camera:


ex_camera with viewfinder
ex_camera - old
ex_moblogger_app

 

Video recording :


ex_video_recording

 

Sensor (Nokia 5500 sensor / N95 sensor / N97 sensor):


N97 accelerometer example
Nokia_5500_tapping_sensor (see video 1 Min length)
N95 Rotation sensor
N95 accelerometer
S60 Sensor Framework document incl. code examples (for S60 5th Edition phones)
Online documentation: sensor module

 

GPS positioning:

GPS data reading example re
Online documentation: positioning module

 

Touch screen / Nokia touch UI:

Touch buttons example
Touch drawing example
Touch support PyS60 document (for S60 5th Edition phones)
Touch screen example code (provided by Nokia)
Online documentation: Touch / canvas options explanations

 

Image handling:


info_image_handling

 

TopWindow:


ex_TopWindow

 

Python syntax lessons:


List
Tuples
Dictionary
String handling
For loop
While loop
While loop with break
More: Link to Tutorial by Guido van Rossum

 

PyS60 API and Python reference documentation:

Online documentation of PyS60 and all of Python
PythonForS60_doc_1_4_1.pdf
Python Library Refernence (2.2.3) It is useful for checking out standard Python stuff.
Python Module index (2.2.3) It is useful for checking out standard Python modules.


GUI design:


icon_GUI (use your own icons for menus)
Control slider and switch (audio mixing fader)
info_gui_design

 

XML:


info_xml

 

Calendar, contacts, databse:


info_calendar_contact_db
ex_calendar_contact_db

 

Making standalone applications:


info_standalone_application

 

OSC for PyS60, Open Sound Control library:


OpenSoundControl

 

Other:


Location id
Sys info module
Telephone module
Bluetooth GPS reader
Start an external application on your phone

 

Python extensions :


link to slides of Paul Wisner's intro to making Python_extension
Nokia wiki PyS60 extensions

 

Links to other useful sites:

Code snippets for Python for Series 60
Developer Discussion Boards (Nokia)
Python for S60 Wiki
HIIT (PDIS)
Everything on PyS60

 

 

 


Listen to Jurgen's music:

Song: Gogogo (full version)



My music CD:
Gogogo revolution

 

Python for S60 Book:

Mobile Python book

Mobile Python - Rapid prototyping on the mobile platform
by Jürgen Scheible and Ville Tuulos. You can get it from Amazon or Wiley.

 

 

 

 

 

Previous|Next        Copyright (c) 2006-2009 Jurgen Scheible