PyS60_2_0_documentation.pdf
(
1194 KB
)
Pobierz
S60 Module Reference
S60 Module Reference
Release 2.0.0 final
09 Feb 2010
Nokia
This is Python(R) for S60 version 2.0.0 final created by Nokia Corporation.
Copyright
c
2004 - 2009 Nokia Corporation.
The original software, including modifications of Nokia Corporation therein, is licensed under the applicable
license(s) for Python 2.5.4, unless specially indicated otherwise in the relevant source code file.
You can view the entire copyright information from here
pys60 copyright info.txt
Abstract
This document is for Python for S60 Platform (Python for S60), which simplifies application development and
provides a scripting solution for the Symbian C++ APIs.
CONTENTS
1 Getting Started
3
1.1 Installing Python runtime and its dependencies
. . . . . . . . . . . . . . . . . . . . . . . . . . .
3
1.2 Packaging a Sample Application
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
2 Operating System Services and Information
5
2.1
e32
— A Symbian OS related services package
. . . . . . . . . . . . . . . . . . . . . . . . . .
5
2.2
sysinfo
— Access to system information
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
3 User Interface and Graphics
9
3.1
appuifw
— Interface to the S60 GUI framework
. . . . . . . . . . . . . . . . . . . . . . . . .
9
3.2
globalui
— Interface to the S60 global UI notifiers
. . . . . . . . . . . . . . . . . . . . . . .
26
3.3
graphics
— A graphics related services package
. . . . . . . . . . . . . . . . . . . . . . . . .
27
3.4
camera
— Interface for taking photographs and video recording
. . . . . . . . . . . . . . . . .
33
3.5
keycapture
— Interface for global capturing of key events.
. . . . . . . . . . . . . . . . . . .
35
3.6
topwindow
— Interface for creating windows that are shown on top of other applications.
. . .
36
3.7
gles
— Bindings to OpenGL ES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38
3.8
glcanvas
— UI Control for Displaying OpenGL ES Graphics
. . . . . . . . . . . . . . . . . .
45
3.9
sensor
— Module to access the device sensors.
. . . . . . . . . . . . . . . . . . . . . . . . . .
46
4 Audio and Communication Services
59
4.1
audio
— An audio related services package
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
59
4.2
telephone
— Telephone services
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
4.3
messaging
— A messaging services package
. . . . . . . . . . . . . . . . . . . . . . . . . . .
62
4.4
inbox
— Interface to device inbox
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
4.5
location
— GSM location information
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
4.6
positioning
— Simplified interface to the position information
. . . . . . . . . . . . . . . .
65
4.7
btsocket
— Provides Bluetooth (BT) support
. . . . . . . . . . . . . . . . . . . . . . . . . .
67
5 Data Management
71
5.1
contacts
— A contacts related services package
. . . . . . . . . . . . . . . . . . . . . . . . .
71
5.2
e32calendar
— Access to calendar related services
. . . . . . . . . . . . . . . . . . . . . . .
76
5.3
e32db
— Interface to the Symbian native DB
. . . . . . . . . . . . . . . . . . . . . . . . . . .
80
5.4
e32dbm
— DBM implemented using the Symbian native DBMS
. . . . . . . . . . . . . . . . .
82
5.5
logs
— Module to access the phone logs.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
85
5.6 Acronyms and Abbreviations
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
6 scriptext - Platform Service API Usage from Python runtime
89
6.1 Overview of scriptext usage
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
89
6.2 Application Manager
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
96
6.3 Calendar
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
105
6.4 Contacts
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
128
6.5 Landmarks
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
150
6.6 Location
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
173
6.7 Logging
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
189
i
Plik z chomika:
mp107
Inne pliki z tego folderu:
pys60-2.0.0_src.zip
(14631 KB)
PythonForS60_2.0.0_Setup.exe
(12904 KB)
PythonForS60_2.0.0.tar.gz
(11687 KB)
Python_2.0.0_SDK_3rdEdFP2.zip
(10579 KB)
Python_2.0.0_SDK_3rdEdFP1.zip
(10332 KB)
Inne foldery tego chomika:
1.9.6
1.9.7
Zgłoś jeśli
naruszono regulamin