• Parallel C
  • C/C++
  • 142KB
  • zip
  • 0
  • 1 积分
  • 3
  • 2018-06-03 13:32
Symbian C++开发教程,这是一个可以供您学习的教程
  • symbian.pdf
<html xmlns=""> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href=""> <link rel="stylesheet" href=""> <link rel="stylesheet" href=""> <script src=""></script> <script src=""></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src=""><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">Symbian OS C++ for Windows C++ programmers</div><div class="t m0 x1 h3 y2 ff2 fs1 fc1 sc0 ls1 ws1">Andy Weinstein, Degel Software Ltd</div><div class="t m0 x1 h4 y3 ff2 fs2 fc1 sc0 ls2 ws2">Version 1.0, Oct 2002</div><div class="t m0 x1 h2 y4 ff1 fs0 fc1 sc0 ls3 ws3">1. <span class="ls4">Introduction</span></div><div class="t m0 x1 h4 y5 ff2 fs2 fc1 sc0 ls5 ws4">This article discusses some issues that a typical <span class="ls6 ws5">Windows C++ programm<span class="_ _0"></span>er will encounter when approa<span class="_ _0"></span>ching</span></div><div class="t m0 x1 h4 y6 ff2 fs2 fc1 sc0 ls7 ws4">Symbian OS for the first time. Our experience in develop<span class="ls8 ws6">ing for three successive versions of Symbian OS ha<span class="_ _0"></span>s</span></div><div class="t m0 x1 h4 y7 ff2 fs2 fc1 sc0 ls2 ws2">given us considerable persp<span class="_ _0"></span>ective on what can be difficult when working in this otherwise rich a<span class="_ _0"></span>nd stable</div><div class="t m0 x1 h4 y8 ff2 fs2 fc1 sc0 ls9 ws7">environment. While one reason for Symbian's su<span class="_ _0"></span>ccess may <span class="ls2 ws2">be the desire of many mobile ph<span class="_ _0"></span>one manufacturers not</span></div><div class="t m0 x1 h4 y9 ff2 fs2 fc1 sc0 lsa ws8">to be tied to Microsoft, the other reason is that Symb<span class="ls5 ws9">ian has put together a lightwe<span class="lsb wsa">ight, elegant system that</span></span></div><div class="t m0 x1 h4 ya ff2 fs2 fc1 sc0 ls9 ws7">succeeds in providing a very impressive <span class="_ _0"></span><span class="ls7 ws4">range of functionality. Here are some pointers to help ease the transition to</span></div><div class="t m0 x1 h4 yb ff2 fs2 fc1 sc0 ls7 ws4">successful Symbian OS application development.</div><div class="t m0 x1 h2 yc ff1 fs0 fc1 sc0 ls3 ws3">2. <span class="lsc wsb">Documentation and resources</span></div><div class="t m0 x1 h4 yd ff2 fs2 fc1 sc0 lsd wsc">The first thing that average Windows programmers will noti<span class="_ _0"></span>c<span class="ls7 ws4">e about Symbian OS is that the SDK documentation is</span></div><div class="t m0 x1 h4 ye ff2 fs2 fc1 sc0 ls8 ws6">not quite at Microsoft's high level of polish. While it's<span class="lse wsd"> been getting more complete, some API classes still have no</span></div><div class="t m0 x1 h4 yf ff2 fs2 fc1 sc0 lse wsd">documentation. For ex<span class="ls6 ws5">ample, the class <span class="ff3 lsf ws3">CEikRichTextEditor</span></span> has no in<span class="_ _0"></span>dependent entry in the documentation.</div><div class="t m0 x1 h4 y10 ff2 fs2 fc1 sc0 ls10 wse">The class <span class="ff3 lsf ws3">CRichText</span><span class="ls5 ws9">, which contains most of the relevant functi<span class="lsa ws8">onality, is documented, but you might not know</span></span></div><div class="t m0 x1 h4 y11 ff2 fs2 fc1 sc0 lsd wsc">that when you first set out to work with the contro<span class="ls2">l (see our com<span class="_ _0"></span>ments about Object Structure, below).</span></div><div class="t m0 x1 h4 y12 ff2 fs2 fc1 sc0 lse wsd">Instead of investing mammoth efforts in com<span class="_ _0"></span>pleting the do<span class="ls2 ws2">cumentation, earlier releases relied on the fact that</span></div><div class="t m0 x1 h4 y13 ff2 fs2 fc1 sc0 ls9 ws7">Symbian provided generous amounts of<span class="_ _0"></span><span class="ls7 ws4"> source code (although not the fu<span class="ls11 wsf">ll operating system) and exampl<span class="_ _0"></span>e code.</span></span></div><div class="t m0 x1 h4 y14 ff2 fs2 fc1 sc0 ls5 ws9">Programmers did not need to guess the behaviour of many API<span class="ls11 wsf">s - they could simply look<span class="ls12 ws10"> at the impl<span class="_ _0"></span>ementation. In</span></span></div><div class="t m0 x1 h4 y15 ff2 fs2 fc1 sc0 lsd wsc">case that was not sufficient, Symbian also provided sour<span class="lse wsd">ce code for utility appli<span class="_ _0"></span>cations like Word. The combination</span></div><div class="t m0 x1 h4 y16 ff2 fs2 fc1 sc0 ls13 ws11">of API and example source was enough to give <span class="lsd wsc">most developers all they ne<span class="_ _0"></span>eded to proceed. </span></div><div class="t m0 x1 h4 y17 ff2 fs2 fc1 sc0 lsa ws8">From Symbian OS v6.0, 95% of the source code for Symb<span class="lse wsd">ian OS was made available to members of their Platinum</span></div><div class="t m0 x1 h4 y18 ff2 fs2 fc1 sc0 ls9 ws7">Partner Program (((http://www.<span class="_ _0"></span><span class="ls2 ws2">atnm.html<span class="_ _0"></span>))), which requires an additional licen<span class="_ _0"></span>ce for</span></div><div class="t m0 x1 h4 y19 ff2 fs2 fc1 sc0 ls2 ws2">which a fee is payable. One consequence <span class="_ _0"></span>of this move is <span class="ls13 ws11">that some of the complete source present on older SDKs</span></div><div class="t m0 x1 h4 y1a ff2 fs2 fc1 sc0 ls2 ws2">is now no longer shipped as sta<span class="_ _0"></span>ndard. Instead, Symbian <span class="lsd">and/or Nokia have gone the route of providing even mo<span class="_ _0"></span>re</span></div><div class="t m0 x1 h4 y1b ff2 fs2 fc1 sc0 ls14 ws12">extensive example code, while co<span class="_ _0"></span>ntinui<span class="lsd wsc">ng to improve documentation. For ex<span class="ls7 ws4">ample, the documentatio<span class="_ _0"></span>n that comes</span></span></div><div class="t m0 x1 h4 y1c ff2 fs2 fc1 sc0 lse wsd">with Series 60 has a separate explanato<span class="_ _0"></span>ry entry called "H<span class="ls7 ws4">ow to manipulate rich text" (though still no entry for</span></div><div class="t m0 x1 h4 y1d ff3 fs2 fc1 sc0 lsf ws3">CEikRichTextEditor<span class="ff2 lse">). </span></div><div class="t m0 x1 h4 y1e ff2 fs2 fc1 sc0 ls5 ws9">There are plenty of other useful, well-written "How to" arti<span class="ls13 ws11">cles in the documentation. In Series 6<span class="_ _0"></span>0, the synergy</span></div><div class="t m0 x1 h4 y1f ff2 fs2 fc1 sc0 ls9 ws7">between documentation and exampl<span class="_ _0"></span>e code is explicit - <span class="lse wsd">there are example apps for each family of Avkon UI</span></div><div class="t m0 x1 h4 y20 ff2 fs2 fc1 sc0 lse wsd">constructs which are referre<span class="_ _0"></span>d to directly by the documentation.</div><div class="t m0 x1 h4 y21 ff2 fs2 fc1 sc0 lsa ws8">A Windows programmer will also have to get used to the relative scarcity of av<span class="ls7 ws4">ailable external resources, although</span></div><div class="t m0 x1 h4 y22 ff2 fs2 fc1 sc0 ls12 ws10">this is improving. &#8216;Professional Symb<span class="ls8 ws6">ian Programming&#8217; (PSP) contains a lot of useful information, but it isn't</span></div><div class="t m0 x1 h4 y23 ff2 fs2 fc1 sc0 ls13 ws11">particularly helpful as a quick reference, and it was writt<span class="ls5 ws9">en in the days of Symbian OS v5 &#8211; a new version of the</span></div><div class="t m0 x1 h4 y24 ff2 fs2 fc1 sc0 ls12 ws10">book is expected early in 2003. PSP is <span class="ls7 ws4">not out-of-date yet, but things have chan<span class="ls15 ws13">ged, especially at the UI level. A</span></span></div><div class="t m0 x1 h4 y25 ff2 fs2 fc1 sc0 ls2 ws2">newer book, &#8216;Wireless Java for Symbian Devices&#8217; is p<span class="_ _0"></span>erhap<span class="ls5 ws9">s more up to date, but isn't going to help much with the</span></div><div class="t m0 x1 h4 y26 ff2 fs2 fc1 sc0 lse wsd">C++ SDK. Also available are &#8216;Symbian OS Communications Programmi<span class="_ _0"></span>ng&#8217; and &#8216;Programming for Series 60 and</div><div class="t m0 x1 h4 y27 ff2 fs2 fc1 sc0 lsa ws8">Symbian OS&#8217; (Nov 2002). More details can be <span class="ls12 ws10">found here: http://www.sym<span class="ls15 ws3"></span></span></div><div class="t m0 x1 h4 y28 ff2 fs2 fc1 sc0 lse wsd">On-line documentation an<span class="ls12 ws10">d question-answering reso<span class="ls5 ws9">urces do exist to help fill in the <span class="ls15 ws13">blanks. Symbian itself runs the</span></span></span></div><div class="t m0 x1 h4 y29 ff2 fs2 fc1 sc0 ls2 ws2">Symbian Developer Network, a net reso<span class="_ _0"></span>urce for forums, FA<span class="ls5 ws9">Qs, examples, and other useful informatio<span class="_ _0"></span>n. It starts at</span></div><div class="t m0 x1 h4 y2a ff2 fs2 fc1 sc0 ls6 ws5"><span class="_ _0"></span>oper. Nokia also has a pa<span class="_ _0"></span>rallel program called Forum N<span class="_ _0"></span>okia, which is located at</div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div> </body> </html>
    • ZxingDemo.rar
    • android-order-system.rar
    • MTK-MT6235-USB-driver-2009082823351054.rar
      MTK 6235 USB driver for Nokia N97
      Android 扫雷游戏源代码,代码中附加了详细的注释,另附加Ophone游戏开发文档,有详细搭建开发环境过程,与开发Android类似
    • J2ME_(chinese)api.rar
      J2ME 中文api以及应用 J2ME 中文api以及应用
    • Gallery3D.rar
    • wpctsc.rar
      wpctsc.exe for windows mobile 可以使WM手机远程登入PC
    • Animation-J2ME.rar
    • androidexample.rar
    • ColorLinez.rar