資源描述:
《symbian入門系列》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、symbian入門系列 這是入門的第二篇文章。其實(shí)在我看來,symbianOS之上的MMI編程和MFC類似,都是有個(gè)applicationframeeent.onmyopinion,therearesamealittlebetbianOS.Theyalloeeaketheiroeoste.mmp)進(jìn)行編譯的,所以,在你的mmp文件改動(dòng)過后,一定要利用 abldmakefilevc6 重新生成VC工程文件,然后才能夠利用VC進(jìn)行app的編譯,否則會(huì)出錯(cuò)。 (手工修改VC的編譯、連接設(shè)置不起作用,不知為何?) 一、編譯和
2、運(yùn)行 1.Buildingandrunningtheexamples Thissectionexplainshopleapplications.AlltheapplicationsarebuiltandruninthesamebianOSemulator,orthetargetdevice. 2.BuildingfortheSymbianOSemulator TheSDKandtheexampleapplicationsshouldbeinstalled. Tobuildanapplication,dothefoll
3、oandationguigroupandenterthefolloand: bldmakebldfiles Thisand: abldbuildayproduceaynothavehaditsexportsfrozen.Performstep3,beloustbeperformed,otherand: abldfreeze Thisand(repeatedfromstep2): abldbuildulator Toruntheapplicationontheemulator,carryoutthefolloula
4、tor. Fromamandand Epoc tolaunchthedebugemulator,or epoc-rel tolaunchthereleaseemulator.Theemulatorula123下一頁——感謝閱讀這篇文章,..,torhasstarted,asetofapplicationsandfoldersVisualC++ TheemulatorcanalsoberunfromMicrosoftVisualC++.Thiscanbeusefulodifyingordebuggingtheappl
5、ication. CreatetheVisualC++and: abldmakefilevc6 Thiseoftheemulatorroot;e.g.Symbian6.0NokiaCPP ?。ㄔ谖沂褂玫膕iemensSX1中目錄為Q:SiemensSX1in) RunMicrosoftVisualC++andopentheeofthefollo: %EPOCROOT%Epoc32BuildApplicationPathnameGroupApplicationNamee.DSulato
6、rroot;e.g.Symbian6.0NokiaCPP(在我使用的siemensSX1中目錄為Q:SiemensSX1in) ApplicationPathnameisthepathnameoftheexampleapplicationfolder;e.g.Examplesanimation ApplicationNameisthenameoftheexampleapplication.e.g.animation Sotheecouldbe,e.g. Epoc32BuildExamplesanimationGrou
7、panimationation.DSfromtheBuildmenu. andbuttonintherightofthedialogboxandselectbrothepop-upmenu.Usingthebroulatorulatoraticallyrun. 5Buildingforthetargetdevice TheSDKandtheexampleapplicationsshouldbeinstalled. Tobuildtheapplications,dothefolloationguigroup'
8、39;''andenterthefolloand: bldmakebldfiles Thisands,dependinguponiurel abldbuildthumburel Thisayproducewar上一頁123下一頁——感謝閱讀這篇文章,.