Wiley.Developing.Software.for.Symbian.OS.2nd.Edition.Dec.2007 (779887), страница 80
Текст из файла (страница 80)
382KQikSoftkeyStyle... 382KRequestPending 248–9,256, 260–1, 270KUidApp 135–6K (constants) prefixes, namingconventions 120–1KDynamicLibraryUid 135–6kernel 63–91, 284, 287–92architectural overview 77–9concepts 63–4, 72–9, 284,287–92definition 63–4, 77EKA2 concepts 77–81executive 78–9extensions 77–9MMU 71–2, 74–5platform security 90–1process priorities 284roles 63–4, 72, 74–5, 77–9server 77–9threads 287–92user library 79KErrAlreadyExists 310KErrCancel 261KErrEof 345KErrNoMemory 101, 104–14L 167–8, 171–3, 181–2L suffixes, concepts 105–14,119–20, 121LAF see Look and FeelLandmark messaging 327LANG keyword, resource files386–7LANGUAGE keyword, resource files385–6language supportinstallation 157–60, 385–7MMP files 385–7resource files 385–7LANs see Local Area Networkslaptops 3Last 214LBS see Location Based ServicesLBUF 391–6LC functions, concepts 110–13,121Leave 101–14, 212–13,279–80426leave/trap mechanismactive scheduler 258–9,262–8, 269–70, 314–21concepts 101–14, 121, 162–5,180–1, 212–13, 253–4,258–60, 262–8, 314–21constructors 112–14object creation 110–13Left 190Length 170–1, 206Lenovo 14, 26LG 14–15, 364LIB files 128–31, 134–5,138–41, 142–3libraries 12–13, 24–6, 63–4,65–8, 78–9, 83–5, 114–18,128–31, 141–9, 275, 278,355–6, 403see also dynamic link.
. .;middlewareapplication protocols 90–1base libraries 63–4classes 115–18concepts 24–6, 63–5, 78–9,83–5, 114–18, 141–9CONE 84–5controls 406freezing 37–8, 115–16,128–31, 141–9OS requirements 12programming basics 114–18SDK 24–6, 141–9types 65–8, 79, 83–5, 114–18UIKON 83–5user library 79LIBRARY 128–31, 142–4, 275,278, 355–6, 403linked listssee also TDblQueconcepts 214Linux 21–2, 31, 64–5, 231, 247list boxes 359–65, 406–7LISTBOX 406–7LIT 167–8, 171–80, 187–99,201–3, 212, 272–5, 278–82,293–6, 297–8, 308–12LLINK 379–80, 391–6, 406–7Load 144INDEXloading methods, polymorphicDLLs 144Local Area Networks (LANs) 89,323local device communicationfeaturessee also connectivity featuresconcepts 9–10, 64–5, 86–9local memory chunkssee also chunksconcepts 296–7local semaphoressee also semaphoresconcepts 299–300LOCALISABLE APP INFO 410localization, resource files366–7, 385–7, 409–11LocalServices 221–3Location 221–3, 228Location Based Services (LBS)10–11log files 25–6, 141log servers 90Logon 285–6, 292see also asynchronous functionslong 94–5, 378–80Look and Feel (LAF), concepts83–5Lookup 144LowerCase 165–6, 194–5LTEXT resource files 378–80M (mixin) classes, concepts 96,98–100, 120MACRO 130–1macrosassert macros 114–15naming conventions 121string literals 166–8, 171–2Maemo 22make 125–6makefiles, build system overview125–6makekeys 234–5MakeName 166–8makesis 59–61, 150–60malicious software 217–19manufacturers 12–15see also individualmanufacturersMatch 189–90MBM files 410–11MegabytesOfFreeMemory138–40member variables, namingconventions 119–20memory 11–12, 16–22, 63–4,65, 70–7, 138–41, 149–60,174–86, 293–7see also Random Access.
. .;Read Only. . .addresses 71–2, 293–7blocks 71–2, 269capacity specifications 16–22,70–1, 138–9chunks 72–7, 97–8, 293–7committed memory 294–7concepts 70–7, 138–41,174–86, 293–7descriptors 174–86emulator configuration138–41frugal requirements 11–12organization 71–7orphaned memory 105–6out-of-memory situations 12,239overrun problems 165–6,176–7physical/virtual memoryaddresses 71–7, 294–7processes 72–7, 292–7shared memory 65–8,114–18, 292–7types 70–3memory cards see removablememory cardsmemory leaks 105–6, 163–4,184Memory Management Unit (MMU)concepts 71–7, 286page tables 73–7, 294–7protection role 71–2, 76memory maps, concepts 71–7,286, 294–7menu/softkey items, resource files44–56, 380–405INDEXMENU BAR 45–56, 383MENU ITEM 45–56, 383, 408menu pane 45–56menus 44–56, 359–411MENU TITLE 45–56, 383messages, client–server model303–21messaging, smartphones 7–8,16–22, 64–5, 323–4, 356Metrowerks 28, 36–7see also Integrated DevelopmentEnvironmentsMicrosoft 13–14, 20–1, 28–30,36–7, 125–7see also Integrated DevelopmentEnvironments; WindowsMobile Smartphone OS13–14, 20–1, 233–4Smartphone OS 13–14, 20–1Visual Studio 28–30Mid 190middlewaresee also librariesconcepts 12, 64–5Mixin 98–100MMC storage media 16–22, 71see also removable memorycards; storage mediaMMF 90–1MMP files 38, 39–56, 116–18,119, 126–31, 134–5, 141–9,160, 163–4, 220, 227–31,236–7, 275, 278–86, 355–6,365–411see also project.
. .concepts 39–56, 126–31,141–9, 160, 163–4, 220,227–31, 236–7, 275,278–86, 355–6, 365–411DLLs 141–9language definitions 385–7processes 278–86, 365–411MMS see Multimedia MessagingServiceMMU see Memory ManagementUnitmobile phonessee also smartphonesconcepts 1–22, 359–60generations 4–11hardware limitations 359–60historical background 2–3, 11network protocols 3–11, 12,16–22, 88–9, 323–57PDAs 3–4, 7, 9–10, 20–2platform security 90–1specifications 16–22mobile TV 11modem features 10modifying methods, descriptors191–7MotoDev 30Motorolasee also UIQA920/A925 6, 15A1000 15A1200 22MOTORIZR Z8 15, 27, 360Q 20multi-homing features 89Multimedia Messaging Service(MMS) 8, 12, 16–22, 64–5,89, 239multimedia support, Symbian OS13–14, 227, 323–4MultiMediaDD 226–7, 229,243multipage dialogs, see also dialogsmultiple DLLs, concepts 117–18multiple inheritance features, C++93–4, 98–100multiple processes 140, 277–86,321see also processesmultiple threads 64–5, 82, 140,277–8, 286–92multitasking aspects, Symbian OS13–14, 64–5, 140, 250–1music players 3mutexessee also synchronizationconcepts 77–9, 97–8, 300–1mvccsym2 126NAME keyword, resource files377–9naming conventions 68, 95–6,119–21427nanokernel, concepts 78, 79, 81native build targets 132–5NEC 22network connections, concepts356–7network interface manager(NIFMAN), communicationsarchitecture 86–9network programmingsee also sockets; TCP.
. .active objects 335–57concepts 323–57network protocolsconcepts 3–11, 12, 16–22,86–9, 227, 323–4, 356–7specifications 16–22network services, well-knownserver-side port addresses326–7NetworkControl 226–9,230–1, 243NetworkServices 221–3,324, 355–6New 96, 111–13, 117–18, 120,180–1NewApplication 49–54,367–77NewL 112–13, 120, 148–9,200–3, 251–4, 263–8,306–21, 346–57, 374–7NewLC 30, 112–13, 120, 181,266–8, 272–5, 313–21,374–7NewMyPoly 117–18NewSessionL 306–21Next 282–4NIF files 88–9NIFMAN see network interfacemanagernmake 125–6NOCOMPRESS (NC) 152–60Nokia 13–15, 26–7, 123–60see also S60. . .3230 263600/3650 14, 26–73620/3660 26–75500 3646121 classic 146260 26428INDEXNokia (continued )6600 6, 266630 266670 266680/6681/6682 14, 267610 149210 159290 6, 159300i 15, 18–199500 Communicator 15, 27E61i 14, 26, 222–3, 364E65 26E90 Communicator 14–15, 19,364N-Gage 26–7N70 26–7N76 14–15N77 11, 26N90 26–7N91 71N92 11N93 14–15N95 14–15, 17–18, 24, 26,70, 364N800 22SDK 26–7, 38–56, 123–60Symbian ownership 13–14non-modifying methods,descriptors 187–98non-preemptive multitaskingmodel, active objects250–1, 269–71nostrictdef 146Nucleus 80NULL 110–13, 156–7, 172,191–2, 196–7, 289,375–7Open 97–100, 113–14, 281–3,286, 289–90, 299–300,337–57‘open’ aspects, Symbian OS phones1OpenFileL 371–7OpenGlobal 299–300operating systems 1, 11–15,30–1see also Symbian OSBlackBerry 21competitors 13–14, 20–2historical background 11–15Linux 21–2, 31, 64–5Microsoft Mobile SmartphoneOS 13–14, 20–1, 233–4Palm OS 21, 64–5requirements 11–12resource-limitations 11–12robustness needs 11–12option buttons 408Order 211ordinal function references143–9orphaned memory, dangers105–6OSE 80OSs see operating systemsout-of-memory situations 12,94–5, 101, 239OutputWebPage 330–57overload features, C++ 93–4,108–9, 111–13, 279–80overrun problems, memory165–6, 176–7owning manufacturers, SymbianOS 13–14object types, cleanup stack107–14object-oriented operating systems12–13, 94–5OEM hardware 13–14, 76, 78–9,83–5OkToExitL 401OnStarting 257–8OnStopping 257–8package definition files 39–56,59–61, 150–60, 365–411see also PKG filespacketssee also GPRS.
. .; HSDPA. . .;UMTS. . .concepts 5–7, 323–57TCP/IP 323–57page tables, MMU 73–7, 294–7Palm OS 21, 64–5Panasonic 14, 22Symbian ownership 13–14X700 26–7X800 26–7Panic 113–14, 163, 284–5,313–21panicsconcepts 113–14, 163, 168,284–6, 313–21examples 113–14, 163,313–21SDK list 113–14passwords 60–1, 403PCs 3, 7–11, 16–22, 24–6,31–8, 56–8, 118–19, 124–5,137–41see also Windowsemulator 24–6, 31–8, 56–8,118–19, 124–5, 137–41,286installation 149–50PDAs 1, 3–4, 7, 9–10, 20–2PDF files 125–6PE files 118–19Pearl design 14see also Series 60pens 15–17, 382see also touch screensperformance issuescontext switches 76–7, 82switched processes 76–7, 82Perl scripts 124–5permissions, platform security90–1personality, concepts 81PETRAN 118–19phone manufacturer capabilities220, 225–7, 243–4physical memory addresses,concepts 71–7, 294–7pictures 3, 8, 11, 16–22ping 350P.I.P.S.
330pixels 139–40, 409–11PKG files 39–56, 59–61,150–60, 233–5, 240–1,365–411see also package definition filesadvanced pkg options 154–7INDEXconcepts 39–56, 59–61,150–60, 233–5, 240–1,365–411installation 39–56, 151–60,233–5, 240–1, 365–411language support 157–60,386–7PKI see Public Key Infrastructureplatform securitysee also signed applications;Symbian Signedcapabilities 90–1, 129, 131,160, 219–32concepts 2, 71–2, 76, 90–1,217–46data-caging concepts 91, 226,231–2developer certificates 236,244–6emulator 228–9exclusions 218–19goals 217–18malicious software 217–19MMU 71–2, 76permissions 90–1SID 129, 131, 232, 237–8trust principle 218platforms, Symbian OS 13–22,153–60, 359–65PlatSecDiagnostics 229PlatSecDisableCaps 228–9PlatSecEnforcement 228–9plug-in DLLssee also dynamic link librariesconcepts 66–9, 85–6,115–18, 135–6Pocket PC OS 20–1pointer descriptorssee also descriptors; TPtr...concepts 168–70, 177–80,318–20definition 168, 177polymorphic DLLssee also dynamic link libraries;plug-in.