Toss a hello World Program on n-Gage

Source: Internet
Author: User

Keywords: Nokia N-Gage, Nokia mobile phone programming, Symbian series60 program development, Symbian C ++

[For the original alicloud article, refer to the source of this post's website]

After I got small N, I installed the software, installed the Chinese language, and played games. After a few days, I began to figure out a program running on my mobile phone. N-gage uses the sybian6.1 operating system. You can select visual c ++ or Java as the development tool. The related SDK documentation can be downloaded at the Nokia forum for free.

The first step to getting started is the simplest "Hello World" program. Everything is hard at the beginning, and dummies have never touched VC ++ before. Everything starts from scratch. find information on the Internet, read the development documents on the Nokia forum, and then prepare the development environment, debug and compile ..... in order to generate a hello World program that can be run on n-Gage, it is still quite costly.

First, download the related sdks from the Nokia forum for installation. I found an article on the internet, s60 programming environment setup, which was summarized by my predecessors, follow the steps above. Nokia's sdks include for Java and for C ++, among which there are various versions applicable to different target devices. I saw that the latest s60 SDK version is V2.1 and supports visual C ++. net. I always thought that the latest version is the best, but at last proved that my idea was wrong. After installation, I compiled Hello world and successfully run it on the simulator. However, when I generated the sisfile and copied it to n-Gage for installation, I got the prompt "the program may be incompatible with the system and will you continue to install it ", after the installation is complete, the program icon is not displayed in the menu. You can view the helloworld program in the system/apps directory. The result is "app closed! System error ", then I noticed that the SDK of this version is symbian7.0, And the generated program cannot run on n-gage. I have to download and install the SDK again.

Yu Zai's latest V2.1, I installed the lowest version v0.9 Chinese, saying that the Chinese version is actually not only the simulator is Chinese, but I still can't find any Chinese, either in the SDK documentation, alas, the adjustment of e-Wenshui can only bite your head!

Enter the/group directory of the hello World sample program at the command prompt.
Bldmake bldfiles
Generate abld. BAT and run
Abld build wins udeb
Failed to run. I only saw a lot of prompts, including "nmake is not an internal or external command, or a program or batch file that can be run. Not an external command. I switched to Visual C ++ and used the wizard "series60 App Wizard" to generate an application framework. However, the prompt ".... the specified project cocould not be inserted into the current workspace ", cannot open the project. My God, I have tried these operations after installing sdk2.1. No problem. How can this problem be solved! In addition to being depressed or depressed, we probably won't be able to get home. After two days of SDK documentation, when I went online to read related articles, inadvertently pick up a life-saving straw-errors in the series60 SDK installation and environment configuration and their solutions... microsoft Visual Studio/vc98/bin and... add the Microsoft Visual Studio/common/msdev98/bin directory to the path to solve the above two problems (complete the omitted parts according to your vs installation path, and separate the directories with semicolons ).
The following is simple:
Execute the command line: abld build thumb urel
Go to the directory of helloworld. PKG and run makesis helloworld. PKG.
Generated helloworld. Sis, copied to n-Gage for installation and running.
After a few days of hard work, I am a newbie who can finally announce to the world that I can also write programs running on mobile phones !!

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.