1. enter the/group directory and enter bldmake bldfiles, which serves the same purpose as previously described. Then: abld build thumb urel, "abld build" is a compilation command, "Thumb urel" is the compilation target. Generally, the mobile phone format is thumb. If you use commands to compile Windows, you can use abld to build wins udeb (urel ). "udeb" indicates debug build, and "urel" indicates release build. The former is used for development and the latter is used for release.
2. Enter/sis, input makesis helloworldbasic. PKG, and then helloworldbasic. Sis is created.
How to display Chinese Resources in Symbian --The steps required to display Chinese Resources in Symbian. 1. Add in myproject. MMP File
Among them, 01 represents English, 31 represents Simplified Chinese. 2. In myproject. RSS, add
| # Include "myproject. Loc" |
Myproject. LOC is used to store resources related to various languages. 3. Create a myproject. Loc file. I usually use different languages to divide resources into different files.
# Define age_31 // which language can be used according to this definition. // English is the default language (SC) and 01 # Ifdef required age_01 # Include "myproject. L01" # Endif // Chinese language resources follow # Ifdef language_31 # Include "myproject. L31" # Endif |
Myproject. l01 stores English resources, myproject. l31 stores Simplified Chinese resources 4. create a myproject. l01: place the definition of English resources in 5. create a myproject. l31, which must start with this file
Then define Chinese resources, such
| # Define qtn_option_menu_commamd "command" |
Myproject. L31 file needs to use Word UTF-8 encoding method for saving, here must pay attention. 6. Modify myproject. PKG, add the following content:
| ; Helloworldplus. PKG; language-standard language Definitions & en, ZH; standard SIS file header # {"helloworldplus", "helloworldplus"}, (0x10005bcb), 1, 0, 0; supports Series 60 V2.0 (0x101f7960), 0, 0, 0, {"series60productid", "series60productid"}; the front is the packaging file directory, followed by the target address after installation; package all epoc32/data/z/system/apps/helloworldplus/files and epoc32/release/thumb/urel/*. all files other than MMP ".. /.. /.. /epoc32/release/thumb /Urel/helloworldplus. app "// generated by the abld build thumb urel -"! :/System/apps/helloworldplus. APP "".. /.. /.. /epoc32/data/z/system/apps/helloworldplus. r01 "-"! :/System/apps/helloworldplus. r01 "".. /.. /.. /epoc32/data/z/system/apps/helloworldplus. r31 "-"! :/System/apps/helloworldplus. r31 "".. /.. /.. /epoc32/data/z/system/apps/helloworldplus. RSC "-"! :/System/apps/helloworldplus. RSC "".../../epoc32/data/z/system/apps/helloworldplus/helloworldplus_caption.rsc "-"! :/System/apps/helloworldplus/helloworldplus_caption.rsc "".../../epoc32/data/z/system/apps/helloworldplus. AIF "-"! :/System/apps/helloworldplus. AIF" |