Build a Symbian Development Environment Based on Carbide. C ++

Source: Internet
Author: User
Tags perl script

Symbian ^ 3 (PDK 3.0.0) has been released for some time. But do you know how to use tools to quickly build a Symbian development platform? If you want to know how to manually generate a project and compile and run it, what should we do? Read this article to answer your questions!

BKJIA: Symbian application development details

1. Introduction to Symbian OS

Symbian OS is an operating system customized for mobile devices. In the world's leading smartphone operating system market share, the system is now mainly used on Nokia's smartphones.

Symbian OS systems are divided into Series60, Series80, Series90, and UIQ Based on Human-Machine Interface interaction. The mobile phone product lines of Nokia are divided into Series40 (bottom-end, non-intelligent Platform), Series60 (middle-end, gradually replacing Series40), and Series80 (high-end ).

With the development of mobile 3G networks and the gradual popularization of mobile Internet applications, the S60 series of smartphones are gaining a larger market and the largest market share. Symbian OS occupies an absolute monopoly in the smartphone operating system.

S60 has many versions, and some version upgrades also bring about binary code compatibility issues. Therefore, you need to check the official materials to learn the version of the target mobile phone, and then select the correct sdk for development of an S60 version.

Series version 60:

◆ The first version of Series 60 corresponds to Symbian OS 6.1

◆ The second version of Series 60 corresponds to Symbian OS 7.0 s

◆ Series 60 version 2 Pack 1 corresponds to Symbian OS 7.0 s

◆ Series 60 version 2 corresponds to Symbian OS 8.0a

◆ Series 60 version 2 Pack 3 corresponds to Symbian OS 8.1a

◆ The third edition of Series 60 corresponds to Symbian OS 9.1.

◆ Series 60 Pack1 of the third edition corresponds to Symbian OS 9.2

Here we have used S60 3rd MR + Carbide. c ++ as an example to describe how to build a Symbian development environment step by step.

2. Preparations

Before building a development environment, download the required SDK and auxiliary tools.

1. download perl. the SDK requires version 5.6.1. Only this version is required. if the version is higher or lower, the environment may fail to be set up ,: http://www.activestate.com/, pay attention to the version when downloading active Perl Script.

2. download java Runtime Environment, requirements are 1.4.06 after, General download version 1.5 on the can,: http://www.java.com, note, do not download version 1.6 java, I tried once, version 1.6 will cause the S60 SDK to fail to work normally.

3. download Carbide from the nokia forum. c ++: the latest version is version 1.2. It feels good to be able to generate two-phase constructor classes and AO classes unique to Symbian OS ,:Http://www.forum.nokia.com/info/sw.nokia.com/id/dbb8841d-832c-43a6-be13-f78119a2b4cb.html. Download Carbide. c ++ Express. license is required for other versions.

4. Download The S60 SDK and the S60 SDK of 3rd Edition Maintenance Release,Http://www.forum.nokia.com/info/sw.nokia.com/id/4a7149a5-95a5-4726-913a-3c6f21eb65a5/S60-SDK-0616-3.0-mr.html

Then, download the extensionplug-in for S60 3rd Edition SDK for Symbian OS, for C ++, and MR Extensions,Http://www.forum.nokia.com/info/sw.nokia.com/id/48a93bd5-028a-4b3e-a0b1-148ff203b2b3/Extensions_plugin_S60_3rd_ed.html

After we have prepared these sdks and tools, we can start to install them.

Iii. Installation Steps

Before we start the installation, I would like to remind you that due to the historical reasons of Symbian OS, "/" is used as the starting directory. Therefore, all development tools, sdks, and even our programs must be installed on the same disk. Otherwise, unexpected problems may occur during future development, for example, both are installed on drive C, or both are installed on drive D.

Next, we start the installation process:

◆ Step 1: Install the perl and java runtime environments (J2RE );

◆ Step 2: Install Carbide. c ++;

◆ Step 3: Install S60 3rd mr sdk, and then install Extensions plug-in.

After completing the three steps above, we have completed the establishment of the Third-edition Symbian OS development environment. Let's start the first Symbian program.

4. Establish a program

1. Start the Carbide. c ++ program;

2. Choose File> new> Project. In the New Project dialog box that appears, select Symbian OS C ++ Project and click next, in the displayed dialog box, select a template and select 3rd. ed GUI Application, click next, and enter the project name in the new dialog box, for example, MyFirstApp. Note whether the project's storage directory is on the same disk as the S60 SDK, if you do not want to change to a disk, continue to next and click Finish to generate the project;

3. In Carbide. compile the program in c ++, right-click the project MyFirstApp we just created in the project tree on the C/C ++ Projects project navigation page, and in the pop-up right-click menu, select Build Project to start compiling the Project;

4. After the project is compiled, select Carbide. c ++ menu, Run-> Run As-> Run Symbian OS Application, Carbide. c ++ will automatically open the S60 simulator, find the program we created in the Installtions simulator, and run it.

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.