📄 release_notes.htm
字号:
<html>
<head>
<title>S60 Platform: Chinese Display Example v2.1</title>
</head>
<body>
S60 Platform: Chinese Display Example v2.1<br><br>
------------------------------------------<br><br>
This C++ application demonstrates how to display Chinese characters, support <br>
internationalization and localization, and implement context-sensitive helps. The<br>
application supports the following languages: English, Taiwan Chinese, Taiwan English, <br>
Hong Kong Chinese, Hong Kong English, Mainland Chinese, and Mainland English.<br><br>
<br>
-------------------------------------------------------------------------------------<br><br>
PREREQUISITES<br><br>
Symbian C++ basics<br>
<br><br>
-------------------------------------------------------------------------------------<br><br>
IMPORTANT CLASSES<br><br>
TFontSpec<br>
CCnvCharacterSetConverter<br>
<br><br>
-------------------------------------------------------------------------------------<br><br>
KNOWN ISSUES<br><br>
The application UID must be from a protected range to be able to show the <br>
Context-Sensitive Help.<br><br>
-------------------------------------------------------------------------------------<br><br>
NOTES ON LOCALIZATION<br><br>
The supported languages and their language codes are:<br>
01 English<br>
029 Taiwan Chinese<br>
157 Taiwan English<br>
030 HongKong Chinese<br>
158 HongKong English<br>
031 Mainland Chinese<br>
159 Mainland English<br>
<br>
Note that the localization file for Chinese language (language.l31) must be in UTF-8 <br>
format and must NOT contain the 3-byte BOM (Byte Order Marker, <0xEF><0xBB><0xBF>) <br>
in the beginning of the file, otherwise the compilation will fail. Some text editors <br>
may automatically add the UTF-8 BOM, and it must be manually removed using a hex <br>
editor. Note that whenever the file is modified, the above 3 characters must be <br>
removed again to get the file compiled.<br><br>
-------------------------------------------------------------------------------------<br><br>
NOTES ON CONTEXT-SENSITIVE HELP<br><br>
To build the help for another language code, please rename the corresponding <br>
language .rtf file to "ChineseDisplay.rtf", then rebuild the project again. The newly <br>
generated .hlp shoud be renamed to the corresponding help file.<br>
<br>
For example, to build help for language code "31", delete "ChineseDisplay.rtf" first, <br>
rename "ChineseDisplay_31.rtf" to "ChineseDisplay.rtf". Build the project. Then, rename <br>
"ChineseDisplay.hlp" to "ChineseDisplay.h31".<br>
<br>
The application UID must be from a protected range to be able to show the <br>
Context-Sensitive Help.<br>
<br>
-------------------------------------------------------------------------------------<br>
<br>
RUNNING THE EXAMPLE<br>
<br>
The example application provides three menu commands showing an info message (on the <br>
emulator only), a notification and launching context-sensitive help.<br>
<br>
The example application works on Chinese and non-Chinese S60 3rd Edition devices. On <br>
devices supporting Chinese, both Chinese and English language resources are installed. <br>
Thus the application UI is displayed either in Chinese or in English depending on the <br>
device language in use.<br>
<br>
-------------------------------------------------------------------------------------<br><br>
BUILD & INSTALLATION INSTRUCTIONS<br>
<br>
The source code can be compiled on the S60 3rd Edition SDKs.<br>
<br>
Steps for building and installing the application to a device depend on the S60 <br>
platform version:<br>
<br>
--Mobile device (S60 3rd Edition)<br>
<br>
a) Go to: "<ChineseDisplay example dir>\group"<br>
b) Run: "bldmake bldfiles"<br>
c) Run: "abld build gcce urel"<br>
d) Go to: "<ChineseDisplay example dir>\sis<br>
e) Run: "makesis ChineseDisplay_30_gcce.pkg"<br>
f) Sign the sis package<br>
See <a href="http://www.symbiansigned.com/">www.symbiansigned.com</A> for information about Developer Certificates.<br>
g) Install the signed .sis file to a S60 3rd Edition device.<br>
<br>
----------------------------------------------------------------------------------------<br>
<br>
COMPATIBILITY<br>
<br>
S60 3rd Edition<br>
S60 3rd Edition, FP1<br>
S60 3rd Edition, FP2<br>
<br>
The example application is expected to work on all S60 3rd Edition devices as it provides <br>
both Chinese and English language resources. However, the Chinese characters can only be <br>
displayed on devices supporting Chinese.<br>
<br>
Created with S60 3rd Edition, FP1 SDK.<br>
<br>
----------------------------------------------------------------------------------------<br>
<br>
VERSION HISTORY<br>
<br>
v2.1 New languages added: Taiwan Chinese, Taiwan English, Hongkong English, Mainland <br>
English. Support for Context-sensitive Help added. Support for S60 2nd Edition dropped.<br>
<br>
v2.0 Ported to S60 3rd Edition (also supporting S60 2nd Edition).<br>
<br>
v1.0 Initial version supporting English and Mainland Chinese. Supports S60 2nd Edition.<br>
<br>
----------------------------------------------------------------------------------------<br>
<br>
EVALUATE THIS RESOURCE<br>
<br>
Please spare a moment to help us improve documentation quality and recognize the examples <br>
you find most valuable, by <a href="http://www.forum.nokia.com/main/1%2C%2C90%2C00.html?surveyId=ba05733d-bc27-4080-94fd-777
ea27aadf8/S60_Platform_Chinese_Display_Example_v2_1_en.zip">rating this resource</a>.
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -