Symbian Explore Diary 1 Start

xiaoxiao2021-03-06  64

Symbian Explore Diary 1 Start

More than two years ago, I started my GBA exploration path, I wrote more than 10 GBA exploration diary. I am from a gate of GBA, I don't know anything I don't know, I'm going to China's most authoritative GBA Development Forum. I bid farewell to GBA. The development has been more than a year. At the beginning, I studied GBA friends. Everyone often went often, and the website is now gone, but now I am boarding my QQ every day, I can also receive my GBA exploration diary reader. Request to join the message. Today, I started my Symbian exploration diary, I hope my Symbian explore diary can drive domestic game development enthusiasts together. In fact, I have experienced development in the middle of GBA to Symbian. J2ME, but J2ME is very simple, and the information is very sufficient, or maybe I started writing my J2ME exploration diary. Symbian's development is more complicated than J2ME, so it is also a learning summary, starting Write my Symbian explore diary. The Symbian development environment is a bit trouble, but at least there is at least SDK document guidance. I have a lot of speaking. It is necessary to say this. The first thing to say is that You must install Perl before SDK. This article is also a development environment configuration for Microsoft Visual Studio.net 2003, so please also install Microsoft Visual Studio.net2003. If you are developing Symbian 7.0s, then see 1, if it is Symbian 6.1 So, please see 2.

1. Symbian 7.0 (NOKIA 6600, NOKIA 7610 ...) First step, to Nokia Official Development Forum http://www.forum.nokia.com/ Go to Series 60 SDKS for Symbian OS, Nokia Edition. Now nokia provides The latest Symbian SDK is 2.2 is all for CodeWarrior. I have always used Microsoft Visual C , so choose Series 60 SDK 2.1 for Symbian OS - Chinese Supporting Microsoft. Chinese version of course is preferred, because the emulator inside can be displayed Chinese. Although the official information said this version supports Visual Studio.Net 2003, I found that it does not support Visual Studio.Net 2003, which can only generate VC6 projects, but VC6 is automatically converted in Visual Studio.net 2003. It seems to have some problems. So we need to carry out the second step in the second step, to the NOKIA official development forum download English version Series 60 SDK 2.1 for Symbian OS. I am actually the 2.1beta version, but I believe it is almost the same. Version SDK supports VC.Net 2003. Step 3, install English version of SDK 2.1, then save the /symbian/7.0s/Series60_v21_c/epoc32/tools directory to another place. Then uninstall this English version of SDK In the fourth step, install the Chinese version of SDK 2.1, copy the Tools directory of the above, override its corresponding Tools directory. Step 5, see the official SDK document. But use the command line to operate, such as Abld Build and Makmake You need to set up a VC environment directory when you operate. The way you set is simple, as long as you run / Microsoft Visual Studio .NET 2003 / VC7 / BIN / VCVARS32.BAT, the environment settings you need to have all the environment settings required for the VC are complete.

2. Symbian 6.1 (NOKIA 3650, NOKIA 7650, N-GAGE ...) first step, to Nokia official forum http://www.forum.nokia.com/ go to Series 60 0.9 SDK for Symbian Os - Chinese, Nokia Edition. This development package is a bit old, it may be found for a while it is aimed at SDK for Symbian 6.1. It only supports VC6.0, which does not support VC.Net 2003. But we still have a way in VC.Net I use it in 2003. Step 2, to Nokia Official Development Forum Download English Version Series 60 SDK 2.1 for Symbian OS. I am actually 2.1beta version, but I believe it is almost the same. This English version of SDK supports VC.Net 2003. In the third step, install the English version of SDK 2.1, then save the /symbian/7.0s/series60_v21_c/epoc32/tools directory to another. Then uninstall this English version of the SDK fourth step, install SDK 0.9 Chinese version 0.9 version If you use the MAKMAKE command to establish a VC project, if you enter VC7, it will not support it, if you enter the VC6 to generate VC6.0, the project cannot be used in VC.NET 2003. So best way That is, when we use Makmake to generate VC projects, first replace the /symbian/6.1/shared/epoc32/tools directory to the Tools of the SDK 2.1 in front, and then generate it back to the 0.9 version of Tools. I usually put These two switches make batch files, which is convenient to switch. Step 5, see SDK's official documentation. Sixth, when packaging the SIS file, you need to pay attention to this, please packed the HelloWorld package in D: / Symbian / 6.1 / series60 / series60ex / helloworld / sis uses notepad to establish or modify the PK 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 / helloworld.app" D: /Symbian/6.1/series60/epoc32/ Release / armi / urel / helloworld.rsc "-"!: / system / apps / helloworld / helloworld.rsc "where" D: /Symbian/6.1/series60/epoc32/Release/Armi/urel/helloworld.rsc " It is the file to be packaged, "!: / System / apps / helloworld / helloworld.rsc" is the mounted target location. It should be noted here that we use "!" In the target position instead of the actual disk. This is the advantage that the mobile phone system prompts the user to select the location where the user is installed, which gives the user more flexible. In addition, in the Symbian system, the installed application default location is "!: / System / apps". After editing the PKG file, save to the corresponding directory. In the command line, turn to the directory where the PKG file is located, run the Makesis HelloWorld.pkg. After that, we got the packaged .ssile file in the same directory. 2004-12-5

转载请注明原文地址:https://www.9cbs.com/read-84224.html

New Post(0)