Symbian programming VC development environment settings (2)

Source: Internet
Author: User

3. Package

Take HelloWorld provided by SDK 1.2 as an example to create a. sisfile that can be installed on your mobile phone:

3. 1. Check the program
First, in the command line format, enter the directory where the MPs file of the HelloWorld project is located, and enter bldmake bldfiles and abld
Build wins udeb, and then open the simulator to check for program errors.

3. 2. compile the project
After the program has no errors, enter abld build armi urel in the command line. After executing this command, the helloworld. app and helloworld. RSC files are generated in the Directory D:/Symbian/6.1/series60/epoc32/release/armi/urel.

3. Create a. PKG File
In D:/Symbian/6.1/series60/series60ex/helloworld/sis
Use NotePad to create or modify the PKG file of the project. The content is as follows:

; HelloWorld. pkg
;
; Language-standard language definitions
& EN

; Standard SIS file header
# {"HelloWorld"}, (0x10005B91), 1, 0, 0
; Supports Series 60 v 1.2
(0x101F8202), 0, 0, 0, {"Series60ProductID "}
;
"D:/Symbian/6.1/series60/epoc32/release/armi/urel/helloworld. app "-"! :/System/apps/helloworld. app"
"D:/Symbian/6.1/series60/epoc32/release/armi/urel/helloworld. RSC "-"! :/System/apps/helloworld. RSC"

In the preceding example, "d:/Symbian/6.1/series60/epoc32/release/armi/urel/helloworld. RSC" is the file to be packaged and installed ,"! :/System/apps/helloworld. RSC is the target installation location. Note that "!" is used in the target location. Instead of the actual drive letter. In this way, the mobile phone system prompts the user to select the desired location during the user's installation, which gives the user greater flexibility. In addition, in Symbian
In the system, the default location of the installed application is "! :/System/apps ".

After editing the pkg file, save it to the corresponding directory.

3. 4. Package
In the command line, go to the directory where the pkg file is located and run the makesis HelloW command.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.