📄 release_notes.txt
字号:
S60 Platform: Scalable UI Example v2.2
-----------------------------------------------------------------
This C++ example application (Noughts and Crosses) demonstrates the scalable UI and
SVG-T icons. The example has been updated to support Touch UI. It has been designed
to work on all devices from S60 3rd Edition onwards and it supports different screen
sizes, orientations, and both the Touch UI and a traditional keypad.
--------------------------------------------------------------------------------
PREREQUISITES
Symbian C++ basics
--------------------------------------------------------------------------------
IMPORTANT FILES/CLASSES
---------------------------
AknLayoutUtils
method AknLayoutUtils::LayoutMetricsRect() (UI Metrics API)
src/NoughtsAndCrossesEngine.cpp
The main engine class, handles the moves of the game.
src/NoughtsAndCrossesContainer.cpp
The board control, responsible for drawing of the game.
--------------------------------------------------------------------------------
KNOWN ISSUES
No known issues.
--------------------------------------------------------------------------------
TOUCH UI SUPPORT
The only change needed to support Touch UI was to implement a
CNoughtsAndCrossesContainer::HandlePointerEventL() virtual method. The pointer
position is received in HandlePointerEventL() and there is a pointered tile marked
with a cross or a nought.
No Touch UI-specific APIs are used. Thus the same application binary also works on
S60 3rd Edition devices that do not have a Touch UI.
The package provides five SIS packages produced with different SDKs. They all have
been tested to work across all S60 3rd Edition and newer releases regardless of whether the devices have a Touch UI or a traditional keypad.
There is only one compatibility issue concerning SVG-T icons in S60 3rd Edition. See
http://wiki.forum.nokia.com/index.php/KIS000531_-_Compatibility_problem_with_binary-encoded_SVG_images for more details. However, when using the SIS package produced with the S60 3rd Edition, MR SDK, also the icon is displayed correctly on all releases (see nac_s60_3rd_MR_self-signed.sis in the sis directory of this package).
--------------------------------------------------------------------------------
RUNNING THE EXAMPLE
When the application is opened, select the settings from the 'Options' menu.
Fill in the settings and press 'OK' to play the game. The application consists
of a simple game of Noughts and Crosses (also known as Tic Tac Toe) where the goal
is to get three noughts (O) or three crosses (X) in a row. It consists of a square
grid, and the players take alternate turns to play.
--------------------------------------------------------------------------------
BUILD & INSTALLATION INSTRUCTIONS
--Mobile device (S60 3rd Edition)
cd to /NAC_scalable_SVG/group
bldmake bldfiles
abld build gcce urel
cd to /NAC_scalable_SVG/sis
Edit the nac_S60_3rd_ed.pkg paths to match your system.
makesis nac_S60_3rd_ed.pkg
Sign the SIS package
- See the SDK Help for information about self-signed .sis packages, or
www.symbiansigned.com for information about certificates.
Install the signed .sis file to an S60 3rd Edition device.
- If you get a "Certificate error" during the installation of a self-signed
package, check that App.Manager -> Settings -> Software Installation is
set to "All".
--Emulator (WINSCW)
cd to /NAC_scalable_SVG/group
bldmake bldfiles
abld build winscw udeb
Start the emulator.
--------------------------------------------------------------------------------
COMPATIBILITY
S60 5th Edition
S60 3rd Edition, FP2
S60 3rd Edition, FP1
S60 3rd Edition
TESTED WITH Nokia 5800 XpressMusic, Nokia 6220 Classic, Nokia E61i, Nokia E70, Nokia E90 Communicator, and Nokia N95.
Created / tested with
S60 5th Edition SDK
S60 3rd Edition, FP2 SDK
S60 3rd Edition, FP1 SDK
S60 3rd Edition MR SDK
--------------------------------------------------------------------------------
VERSION HISTORY
2.2 Added touch UI support. S60 2nd Edition support dropped.
2.1 Minor fixes and code cleanup done for all examples.
2.0 S60 3rd Edition support added.
1.0 First release
--------------------------------------------------------------------------------
EVALUATE THIS RESOURCE
Please spare a moment to help us improve documentation quality and recognize the examples you find most valuable, by rating this resource at http://www.forum.nokia.com/main/1%2C%2C90%2C00.html?surveyId=29ab566b-5776-4137-8553-ef15b5e8ba49/S60_Platform_Scalable_UI_Example_v2_2_en.zip.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -