📄 readme.txt
字号:
Add Icon
basictypes\gfx
qgn_menu_basictypes.svg
Add a build file for Icon
basictypes\group
Icons_scalable_dc.mk => See bld.inf for more details
12)Edit project MMP file
Change
TARGET basictypes.exe
to
TARGET basictypes_0xE4C2B7D2.exe
Add the following
SOURCEPATH ..\data
START RESOURCE basictypes.rss
HEADER
TARGET basictypes_0xE4C2B7D2
TARGETPATH resource\apps
END //RESOURCE
START RESOURCE basictypes_reg.rss
TARGET basictypes_0xE4C2B7D2_reg
TARGETPATH \private\10003a3f\apps
END //RESOURCE
13) Re-Test WINSCW debug version
14) Build GCCE release version
D:\NokiaDev\Carbide\workspace\basictypes\group>del abld.bat
D:\NokiaDev\Carbide\workspace\basictypes\group>bldmake bldfiles
D:\NokiaDev\Carbide\workspace\basictypes\group>abld cleanall
make -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\WINSCW.make" CLEAN
ALL VERBOSE=-s
perl -S ermdir.pl \Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\BASICTYPES\WINS
CW\
make -s -C \NokiaDev\Carbide\workspace\basictypes\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\
..\..\..\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\ICONS_SCALABLE_DC\WINSCW
TO_BLDINF=..\..\..\..\..\NokiaDev\Carbide\workspace\basictypes\group PLATFORM=WINSCW CFG= CLEAN
D:\NokiaDev\Carbide\workspace\basictypes\group>abld build GCCE urel
make -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\EXPORT.make" EXPOR
T VERBOSE=-s
Nothing to do
make -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\GCCE.make" MAKEFIL
E VERBOSE=-s
perl -S makmake.pl -D \NokiaDev\Carbide\workspace\basictypes\group\BASICTYPES GCCE
perl -S ecopyfile.pl "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\BAS
ICTYPES\GCCE\basictypes_0xE4C2B7D2.rsg" "\Symbian\9.3\S60_3rd_FP2_Beta\epoc32\include\basictypes_0xE4C2B7D2.rsg"
make -s -C \NokiaDev\Carbide\workspace\basictypes\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\
..\..\..\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\ICONS_SCALABLE_DC\GCCE TO
_BLDINF=..\..\..\..\..\NokiaDev\Carbide\workspace\basictypes\group PLATFORM=GCCE MAKMAKE
make -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\GCCE.make" LIBRARY
VERBOSE=-s
make -s -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\BASICTYPES\GCCE\B
ASICTYPES.GCCE" LIBRARY
make -s -C \NokiaDev\Carbide\workspace\basictypes\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\
..\..\..\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\ICONS_SCALABLE_DC\GCCE TO
_BLDINF=..\..\..\..\..\NokiaDev\Carbide\workspace\basictypes\group PLATFORM=GCCE LIB
make -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\GCCE.make" RESOURC
E CFG=UREL VERBOSE=-s
make -s -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\BASICTYPES\GCCE\B
ASICTYPES.GCCE" RESOURCEUREL
make -s -C \NokiaDev\Carbide\workspace\basictypes\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\
..\..\..\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\ICONS_SCALABLE_DC\GCCE TO
_BLDINF=..\..\..\..\..\NokiaDev\Carbide\workspace\basictypes\group PLATFORM=GCCE CFG=UREL RESOURCE
MifConv version 1.11 build (49, SVG stand-alone).
Checking: ..\gfx\qgn_menu_basictypes.svg
Choosing...
Used from: \Symbian\9.3\S60_3rd_FP2_Beta\epoc32\tools\SVGTBINENCODE.exe.
Convert files...
.
Loading mif icons...
Loading file: \Symbian\9.3\S60_3rd_FP2_Beta\epoc32\BUILD\s60\icons\temp\s3bc.tmp\.._gfx_qgn_menu_basictypes.svgb
Writing mif: \Symbian\9.3\S60_3rd_FP2_Beta\epoc32\data\z\resource\apps\basictypes_0xE4C2B7D2.mif
make -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\GCCE.make" TARGET
CFG=UREL VERBOSE=-s
make -s -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\BASICTYPES\GCCE\B
ASICTYPES.GCCE" UREL
make -s -C \NokiaDev\Carbide\workspace\basictypes\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\
..\..\..\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\ICONS_SCALABLE_DC\GCCE TO
_BLDINF=..\..\..\..\..\NokiaDev\Carbide\workspace\basictypes\group PLATFORM=GCCE CFG=UREL BLD
make -r -f "\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\GCCE.make" FINAL C
FG=UREL VERBOSE=-s
make -s -C \NokiaDev\Carbide\workspace\basictypes\group -f "ICONS_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\
..\..\..\Symbian\9.3\S60_3rd_FP2_Beta\EPOC32\BUILD\NokiaDev\Carbide\workspace\basictypes\group\ICONS_SCALABLE_DC\GCCE TO
_BLDINF=..\..\..\..\..\NokiaDev\Carbide\workspace\basictypes\group PLATFORM=GCCE CFG=UREL FINAL
(Success)
15) Edit package file
Add default language
;Language - standard language definitions
&EN
Edit standard SIS file header
Add Series 60 v 3.0 supporting
;Supports Series 60 v 3.0
[0x101F7961], 0, 0, 0, {"Series60ProductID"}
Add file to install
"D:\Symbian\9.3\S60_3rd_FP2_Beta\Epoc32\release\gcce\urel\basictypes_0xE4C2B7D2.exe" -"!:\sys\bin\basictypes_0xE4C2B7D2.exe""D:\Symbian\9.3\S60_3rd_FP2_Beta\Epoc32\data\z\resource\apps\basictypes_0xE4C2B7D2.rsc" -"!:\resource\apps\basictypes_0xE4C2B7D2.rsc" ( Modified )
"D:\Symbian\9.3\S60_3rd_FP2_Beta\Epoc32\data\z\private\10003a3f\apps\basictypes_0xE4C2B7D2_reg.rsc" -"!:\private\10003a3f\import\apps\basictypes_0xE4C2B7D2_reg.rsc"
"D:\Symbian\9.3\S60_3rd_FP2_Beta\Epoc32\data\z\resource\apps\basictypes_0xE4C2B7D2.mif" -"!:\resource\apps\basictypes_0xE4C2B7D2.mif"
;"..\help\testui_0xEB73B80E.hlp" -"!:\resource\help\testui_0xEB73B80E.hlp"
; Add any installation notes if applicable
;"Readme.txt" -"!:\private\EB73B80E\Readme.txt"
;required for application to be covered by backup/restore facility
; "..\sis\backup_registration.xml" -"!:\private\0xE4C2B7D2\backup_registration.xml"
; END OF FILE
16) Create SIS, install and testing
- Build
D:\NokiaDev\Carbide\workspace\basictypes\sis>createsis create -cert basictypes.cer -key basictypes.key -pass quangb6 ba
sictypes_EKA2_cmd.pkg
Processing basictypes_EKA2_cmd.pkg...
Created basictypes_EKA2_cmd-tmp.SISSigning basictypes_EKA2_cmd-tmp.SIS with basictypes.cer and basictypes.key -> basicty
pes_EKA2_cmd.SIS
(Success)
Directory of D:\NokiaDev\Carbide\workspace\basictypes\sis
02/18/2009 11:09 AM <DIR> .
02/18/2009 11:09 AM <DIR> ..
02/17/2009 12:26 PM 1,651 basictypes.cer
02/17/2009 12:26 PM 1,264 basictypes.key
02/17/2009 09:45 AM 701 basictypes_EKA2.pkg
02/18/2009 11:09 AM 1,737 basictypes_EKA2_cmd.pkg
02/18/2009 11:09 AM 6,852 basictypes_EKA2_cmd.SIS
5 File(s) 12,205 bytes
- Copy to S61i and test
(Success)
17) Change application icon
- Install SVG2SVGTConverter.exe under s60Tools directory
into D:\Symbian\9.3\svgttool directory
- Download Inkscape-0.46-win32.exe to install
- Run Inkscape to edit a 88x88 pixels icon
- Convert to tiny format using SVG2SVGT
- Testing app icon on E61i => Problem: cannot display the icon
SOLUTION:
- Edit Icons_scalable_dc.mk to add /X options for SDK backward compatibility as the following
RESOURCE : $(ICONTARGETFILENAME)
$(ICONTARGETFILENAME) : $(ICONDIR)\qgn_menu_basictypes.svg
mifconv $(ICONTARGETFILENAME) \
/X /c32 $(ICONDIR)\qgn_menu_basictypes.svg
- Delete all basictypes* files in the D:\Symbian\9.3\S60_3rd_FP2_Beta\epoc32
- Rebuild GCCE release version
- Deploy to E61i and test
(Success)
18) Fix list view problem
- Descriptions: When changing application view from "Grid" to "List", the application
icon is not resized to be small.
- Solution: Edit SVG Tiny format file "gfx/qgn_menu_basictypes.svg"
Change
<svg baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" width="88" height="88" version="1.0">
to
<svg baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 88 88">
Add
<g>
<g>
<rect fill="none" width="88" height="88"/>
</g>
</g>
After the existing line
<g transform="translate(1.6363636,1.4545455)">
- Save and rebuild
- Test on Nokia E61i
(Success)
========== END OF FILE ===========
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -