📄 release_notes.txt
字号:
S60 Platform: Custom UI and Screen Rotation Example
----------------------------------------------------
This application demonstrates the key functionalities of the screen rotation,
custom component handling, status pane handling, and picture scaling on the
S60 UI layer.
--------------------------------------------------------------------------------
PREREQUISITES
Symbian C++ basics
Asynchronous services
--------------------------------------------------------------------------------
IMPORTANT FILES/CLASSES
inc\S60UICodeExAppUi.h
S60UICodeExRotateControl.h
S60UICodeExTextControl.h
S60UICodeExView.h
S60UICodeExControl.h
src\S60UICodeExAppUi.cpp
S60UICodeExRotateControl.cpp
S60UICodeExTextControl.cpp
S60UICodeExView.cpp
S60UICodeExControl.cpp
--------------------------------------------------------------------------------
KNOWN ISSUES
- The hardware screen rotation event is disabled after screen rotation made by
user-initiated rotate event (rotate command).
This applies only to devices that have hardware screen rotation, for example,
Nokia N93 and Nokia N92.
--------------------------------------------------------------------------------
RUNNING THE EXAMPLE
The application has one view:
Generator - two custom UI components. Text display and rotate button.
- configurable status pane.
- portrait and landscape screen modes.
Use navigation up/down (portrait) and left/right (landscape) keys to change focus
between the text display box and rotate button. Select a different status pane
mode from the Options menu. When in landscape mode, only small status is enabled.
--------------------------------------------------------------------------------
BUILD & INSTALLATION INSTRUCTIONS
The source code can be compiled on all S60 SDKs. Steps for building and
installing the application to a device depend on the S60 platform version:
--Mobile device (S60 3rd Edition)
cd to /S60UICodeEx/group
bldmake bldfiles
abld build gcce urel
cd to /S60UICodeEx/sis
makesis S60CodeEx_gcce.pkg
Sign the SIS package
- See the SDK Help for information about self-signed .sis packages, or
www.symbiansigned.com for information about Developer Certificates.
Install the signed .sis file to an S60 3rd Edition device.
--Mobile device (S60 1st/2nd Edition)
cd to /S60UICodeEx/group
bldmake bldfiles
abld build thumb urel
cd to /S60UICodeEx/sis
makesis S60CodeEx_gcce.pkg
Install the SIS file to the device.
--Emulator (WINSCW)
cd to /S60UICodeEx/group
bldmake bldfiles
abld build winscw udeb
Start the emulator.
--Carbide.c++ IDE
1. Make sure that the path for the current Carbide workspace does not contain any whitespace characters.
If necessary, select a new workspace folder in Carbide (File -> Switch workspace
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -