Главная » Просмотр файлов » Programming Java 2 Micro Edition for Symbian OS 2004

Programming Java 2 Micro Edition for Symbian OS 2004 (779882), страница 80

Файл №779882 Programming Java 2 Micro Edition for Symbian OS 2004 (Symbian Books) 80 страницаProgramming Java 2 Micro Edition for Symbian OS 2004 (779882) страница 802018-01-10СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

Текст из файла (страница 80)

Martin de Jode 2004 Symbian Ltd ISBN: 0-470-09223-8462Bluetooth Wireless. . . (continued )service discovery 218–21service records 209–11service registration 208–14UUIDs 211–12Borland 66–8BREW 397BTAPIBenQ P30 453Nokia 6600 460Nokia 6620 461Nokia 7700 462Sony Ericsson P900 459BT Demo MIDlets 230–40business logic/presentation codeseparation 263bytecode 409C++memory leaks 389preferred languages on SymbianOS 399Symbian OS applicationsproportion 398CA see certificate authoritiescaching and cached devices223–4, 386–8calculating factorials 355–6calendar classes 425–6callback methods 172called methods 373–5calling trees 373–5camera phones 178–9, 182–3,188, 294Canvas 31, 41, 291–2Canvas.isDoubleBuffered()method 358capture 159, 160captured images 294, 302–5,311–15case studiesDemo Racer game 247,282–93expense application 247,248–81Life Time 366–84Picture Puzzle 248, 294–315INDEXCC/PP see CompositeCapability/Preference ProfilesCDC (Connected DeviceConfiguration) 16–20core packages 17–18device specifications 17HotSpot Implementation 390JSR 36 16optional packages 18–19Personal Profile 19–20stack 400uses 5certificate authorities (CA)97–100, 103–4certificate management 56charging and billing 416ChatMIDlet 193–9checkPermission() method146ChoiceForm class 300–2ChoiceGroup objects 37Choice interface 40, 126Class of Device/Service (CoD)records 217classesadditional utility 426calendar 425–6collection 424data type 424error 428exception 426–8input/output 424–5Midlet 434system 423time 425–6user interface 430–2CLDC (Connected Limited DeviceConfiguration) 7–12classes 9–11core libraries 423–8device capabilities 7–8differences from CDC 8–9functionality based on 400general-purpose containers348–9HotSpot Implementation 94–5,354, 390JSR 30 7JTWI 92MIDlet creation 27networking 11–12Nokia 3600/3650 448Nokia 3620/3660 449Nokia 6600 460Nokia 6620 461Nokia 7650 447Nokia 7700 462Nokia 9210i 446Nokia N-Gage 451portability 8Sony Ericsson P800 454Symbian OS 94–5uses 5virtual machines 8–9CLDCMark test 336–7ClientConnection class117–18client devices 402–3client mode connection formats190clipping region 358, 362close() method 162CoD see Class of Device/Servicecodedifferent device platforms263–4Java benefits 408–9optimized 335–92see also portable codeCodeWarrior Wireless Studio 768–71collection classes 424collision detection 139, 286, 288,328, 365–6combined delivery 419commandAction() method170, 310, 360Command class 33–4command line 437–8CommandListener 40, 42, 360comparing strings 343–4compilation 390–1, 437–8Composite Capability/PreferenceProfiles (CC/PP) UAProfstandard 326concatenation 344–5INDEXconfigurationsuses 5see also CDC; CLDCConnected Device Configurationsee CDCConnected Limited DeviceConfiguration see CLDCconnecting to services 222–3,226connection framework 108–19<ConnectionURL> field 120constrained devices 3, 5consumers 399–400, 403containers, optimizing code348–9Content Handler API (JSR 211)417content provider requirements400–1Control 158, 162–3Controller seeModel–View–Controllerdesign patternConway’s Game of Life 366, 367copying an Array 351–2core functionality 14–16core game classes 324–5core libraries 9–11, 17–18core packages 435–6correct Java configuration399–400createRGBImage() method146–7cryptography 96, 229CustomItemclass 37–8, 125event handling 258–62expense application case study253–64item painting 257–8item size 257KeyPad MIDlet 130–131series 60/UIQ interfaces253–6, 262–4DAC see Dynamic AdaptiveCompilationdata access objects (DAOs)264–9databases 16, 387–8datagram support 113–14data providers 402–3data storage 44–5Data Sync API (JSR 230) 414data type classes 424DateField 38deallocate() method 162debugging 376, 377decrementCount() 353–4defensive code 330, 389defineCollisionRectangle() 328delay 111delivery, OMA DRM Version 1.0419Demo Racer gamebackground 282–4case study 247, 282–93layer manager 288–92MIDlet lifecycle 292–3sprites 284–8design, optimizing code 337design patternsModel–View 322–3Model–View–Controller320–2optimizing code 386–8portable code 320–5practical application 323–5desktop applications 29destroyApp() method 170Developer’s Suite see NokiaDeveloper’s Suitedevelopmentexpense application case study249resources 439–4time 407–9tools 54–66, 241–4, 249device 159–60deviceDiscovered() method214device discovery 214–18device emulators 76–82device identification 326device look and feel 262–3DiceBox MIDlet 339–40463Digital Rights Management (DRM)418–20digital signatures 96–8, 102–5DiscoveryAgent class 215,223–4DiscoveryListener interface214–15, 218–21discType values 214Displayable objects 31Display class 123–4Display object 252disposable incomes 401–2DoJa 6, 456, 457, 458doRecursive() method 353double buffering 358download limitations 331–2drawBackground() method361–2, 363drawImage() method 41drawRGB() method 147, 148–9DRM see Digital RightsManagementDynamic Adaptive Compilation(DAC) 390–1early instantiation 388EEMBC see EmbeddedMicroprocessor BenchmarkConsortiumembedded devices 421Embedded MicroprocessorBenchmark Consortium(EEMBC) 336embedded tests 336–7employees, advanced enterpriseservices 404emulatorsdevice emulators 76–82Sony Ericsson P900 J2ME SDK81–2UIQ SDK 76–82Unified Emulator Interface74–6encoding records 265–7encryption 96, 229end-to-end security 16, 435Engine see Modelenterprise market 399–400464enterprise services, advanced 404enterprise user requirements 400entertainment services 403Enumeration 388Enumeration.nextElement()method 384enumeration of records 267–9error classes 428event handling 258–62event model 32–3exception classes 426–8expense applicationcase study 247, 248–81custom items 253–64development environment 249MIDlet 251–3, 279–81record stores 264–9requirements 249–51synchronization 269–77Web Server implementation277–8extensions, Symbian-specific417–18extensive connectivity 15factorials 355–6fast development 407–9faults, Java benefits 407–8feedback, optimizing code 338field service support 404FileRequestHandler class340final methods 343FIRE key events 310flicker 358flushGraphics() 365form-based applications 253–64Form class 124–5Form object 36forward lock 419Foundation Profile 6–7, 19–20fragmentation 330frames 136–9freeMemory() method 389Fujitsu F900i 458Fujitsu F2051 456Fujitsu F2102V 457FullCanvas class 182INDEXfunction groups 106, 114–15future plans 411–17GameActions 328Game API 14–15, 43–4, 46–54,131–44, 282, 432–3GameCanvas class 43, 49–51,132, 358, 365Game of Life 366, 367GameMIDlet class 295–300gamesactions 42advanced consumer services403billing 416Demo Racer 282–93design patterns 324–5functionality 14–15logic 306–11, 324–5low-level API 30–1management 416worldwide revenue predictions397garbage collection 388–9, 391,406–7GCF see Generic ConnectionFrameworkGeneral/Unlimited Inquiry AccessCodes (GIAC) 215GenerationMap class 368, 369,370, 377–82Generic Connection Framework(File GCF) 11, 413getConnectionURL() method222, 226getControls() method 163–4getMajorDevice() method217getMinContentHeight()method 130getMinContentWidth()method 130getMinimumHeight() method124getMinimumWidth() method124getPrefContentHeight()method 130getPrefContentWidth()method 130getPreferredHeight()method 124getPreferredWidth() method124getter methods 342–3GIAC see General/UnlimitedInquiry Access Codesgraphicsbenchmarks 336–7collision detection 365–6LCDUI low-level API 40–2low-level graphical contentportability 326–8optimizing code 358–66Popcorn Drawing demonstrator358–65Graphics.drawImage()method 371Graphics.fillRect() method371GrinderBench 336hashCode() method 345–6Hashtable containers 348–9hash tables 345–6HCI see Host Controller Interfaceheap analysis 375–6, 377heap memory 332–3‘Helloworld’ – , Turbo Edition46–54high-level API 30, 33–40high-level user interfacecomponents 329Host Controller Interface (HCI)206–7HotSpot garbage collector 391HotSpot technology 94–5, 354,390–1HTTP 45, 108–9, 272, 326HTTPS 109IDEs see integrated developmentenvironmentsimage buffer 363–4INDEXimage capture 178–9, 182–3,188, 294, 302–5Image.createRGBImage()method 363ImageItem 38–9image manipulation 294, 306–11IMP see Information Module ProfileImpronto Simulator see RococoImpronto SimulatorInformation Module Profile (IMP)6infrared, MIDlet installation 83–4initDisplayMode() method176inlining 340–3input classes 424–5input devices 29input methods 328–9InputStream 357instance accessors 342–3instance variables 341–3instantiation time 388integrated developmentenvironments (IDEs)CodeWarrior Wireless Studio 768–71JBuilder 9 66–8NDS integration 65–6, 72Sun ONE Studio 4 72–4Unified Emulator Interface74–6I/O implementation 11–12isAuthenticated() method228isAuthorized() method 229isDoubleBuffered() method358isEncrypted() method 229Item class 36–7, 124–5ItemCommandListener 40,126, 130–1Item painting 257–8Item size 257ItemStateChanged() method171–2ItemStateListener interface40J2EE (Enterprise Edition) 3–4J2ME Connected DeviceConfiguration see CDCJ2ME Connected Limited DeviceConfiguration see CLDCJ2ME Web Server access 56J2ME Web Services Specification(JSR 172) 414J2ME Wireless Toolkit 2.1 seeWireless ToolkitJ2SE relationship 3–4JAD filesexpense application case study280MIDlet creation 27–8over-the-air MIDlet installation84–5JAIN, future plans 416–17JAIN Instant Messaging (JSR 187)417JAIN Presence (JSR 164) 416–17JAIN Presence (JSR 186) 417JAIN SIMPLE Instant Messaging (JSR165) 417Jakarta 59–63JAR files 99, 100, 331–2Javabenefits for servicesdevelopment 406–9wireless applicationssignificance 397–9wireless devices proportion397Java APIs for Bluetooth (JSR 82)412Java APIs for Integrated Networkssee JAINJava API for XML Binding see JAXBJava application descriptor see JADfilesjavaCopy() method 351, 352Java Developer Kit 1.4 249Java HotSpot technology 94–5,354, 390–1java.lang.runnable interface270–3JavaPhone 446Java Technology for the WirelessIndustry see JTWI465Java Verified Program 420JAXB 273, 277–8JBuilder 9 66–8, 69JIT see Just In TimeJSR 30 (J2ME Connected LimitedDevice Configuration) 7, 92JSR 36 (J2ME Connected DeviceConfiguration) 16JSR 37 (Mobile Information DeviceProfile for the J2ME Platform)29JSR 82 (Java APIs for Bluetooth)206, 207–8, 244, 412JSR 118 (Mobile InformationDevice Profile 2.0) 12, 92JSR 120 (Wireless Messaging API)92JSR 135 (Mobile Media API) 92JSR 164 (JAIN Presence) 416–17JSR 165 (JAIN SIMPLE InstantMessaging) 417JSR 172 (J2ME Web ServicesSpecification) 414JSR 177 (Security and TrustServices) 414JSR 179 (Location API for J2ME)415JSR 180 (SIP API for J2ME)415–16JSR 185 (JTWI deliverables) 93JSR 186 (JAIN Presence) 417JSR 187 (JAIN Instant Messaging)417JSR 211 (Content Handler API)417JSR 229 (Payment API) 417JSR 230 (Data Sync API) 414JTWIcode portability 331component JSRs 92deliverables 93introduction 91–4optional APIs 155–201specification requirements92–3Symbian 93–4Just In Time (JIT) compilers 390just in time instantiation 388466Kauai/Kilo Virtual Machine (KVM)8keepalive 111keypad entry 328, 329KeyPad MIDlet 126–31keyPressed() method 41, 42,310keysin hash tables 345–6MIDP 2.0 security model96–8, 102–5KeyString wrapper class345–6KToolbar 27, 29KVM see Kauai/Kilo VirtualMachineKVM garbage collector 388–9kXML parsing 274–5L2CAP protocol 206–7, 224–6Landmarks store 415larger-grained operations 388Layer 44LayerManager class 44,140–4, 282layout 124–5lazy instantiation 388LBS see location-based servicesLCDUI 13–14architecture 33Displayable objects 31–2event model 32–3expense application 251high-level API 30, 33–40interfaces 40, 42low-level API 30, 40–4MIDP 2.0 123–31model 31–2origins 29–30structure 30–1threading animation 42–3LIAC see Limited Dedicated InquiryAccess CodeslibrariesCLDC core 423–8MIDP 429–36licensees, websites 439LifeTime case study 366–84INDEXLimited Dedicated Inquiry AccessCodes (LIAC) 215linger 111Linux 397List object 35localized advertising 403local variables 341Location API for J2ME (JSR 179)415location-based services (LBS)advance services provision404–6Symbian’s approach 405–6worldwide revenue predictions397location-based ‘‘to dos’’ 405location stamping of user data405lookup method 356looping 352–7low-level API 30, 40–4low-level graphical content326–8major device bit values 217makeImages () method 363Manager 158manufacturersrequirements 401–2tools (websites) 440mapping 42market issues 395–402master–slave roles 222maximum transmission unit (MTU)224–5Media API 15, 45, 145, 433media players 158memoryconstraints 336heap analysis 375–6, 377leaks 389, 406–7management 388–9mobile phones versus computers336traps 346–8messagesexchange 275–7receiving of SMS 191–2sending using WMA 190–1method modifiers 340–3Metrowerks 68–71Microsoft, wireless devicesproportion 397middleware vendors 399MIDlet class, MIDP 2.0 145–6MIDlet-Jar-RSA-SHA1 attribute100MIDlet-Permissions attribute100–1, 122, 187–8, 200, 229MIDlet-Permissions-Optattribute 100–1MIDletsAMS interaction 25application managementsoftware installation 86–9building 279–81classes 434creating 27–9current implementation 410DESTROYED state 311Helloworld.java 47–9Java Verified Program 420lifecycle 25, 26, 292–3model 23–9running on devices 82–9running on emulators 74–83signing 55states 24–6structure 27transfer to devices 83–5untrusted 105–6, 188, 200see also individual MIDletsMIDlet suitesauthentication of signed 100separate delivery 419signing 98–100, 102–5trusted 96MIDP (Mobile Information DeviceProfile) 12–16, 23libraries 429–36Symbian OS applicationsproportion 398toolkits 54–66user interfaces 29–43uses 6MIDP 1.0 (Mobile InformationDevice Profile) 12–16INDEXBenQ P30 453classes 13–15core functionality 14–16Game API 43–4GameCanvas class 365JSR 37 29JSR 118 13limitations 95, 155–6Networking 45Nokia 3600/3650 448Nokia 3620/3660 449Nokia 6600 460Nokia 6620 461Nokia 7650 447Nokia 7700 462Nokia 9210i 446Nokia N-Gage 451OTA provisioning 15–16packages 13–14preferred languages on SymbianOS 399Sendo X 452Siemens SX1 450Sony Ericsson P800 454Sony Ericsson P900 459Sprite class 365–6Symbian OS phones 89user interfaces 29WMA 192–3MIDP 1.03 (Mobile InformationDevice Profile) 455MIDP 2.0 (Mobile InformationDevice Profile) 95–155audio subset 181–2Bluetooth security model229–30case studies 247–315connection framework 108–19JTWI 92LCDUI additions 123–31Media API 45Networking 45–6new features 95, 145–55Push Registry 119–23Recommended Security Policyfor GSM/UMTS CompliantDevices addendum 230security model 96–107,187–9, 200–1Symbian OS phones 89, 201–2minor device bit values 218MMAPI (Mobile Media API)14–15, 155–80architecture 158–9J2ME Wireless Toolkit 56MIDP 1.0 security model187–9Nokia 3600/3650 448Nokia 3620/3660 449Nokia 6600 460Nokia 6620 461Nokia 7700 462Nokia N-Gage 451Picture Puzzle application 294Sendo X 452Siemens SX1 450Symbian OS phones 180–7mobile employees 404Mobile Information Device Profilesee MIDPMobile Media API see MMAPIMobile User Interface (LCDUI) 14Model–View–Controller (MVC)design pattern 320–2Model–View (MV) design pattern322–3modifiers, optimizing code340–3Monty (CLDC HI) 94–5, 354, 390Motorola A920/A925 455MTU see maximum transmissionunitmultimedia functionality 14–15multimedia support 330multi-user games 403mustBeMaster argument 222MV see Model–ViewMVC see Model–View–ControllerNDS see Nokia Developer’s SuiteNet Access function group114–15Network Address Translation (NAT)gateways 115–16networking 11–12, 45–6,429–30Nokia 3600/3650 448467Nokia 3620/3660 449Nokia 6600MIDP 2.0 Symbian OS 89,93–4, 107, 201, 202Push Registry 123security policy 115specifications 460Nokia 6620 461Nokia 7650 447Nokia 7700 462Nokia 9210 370Nokia 9210i 446NokiaMMAPI implementation onSymbian OS phones180–1, 182–5Series 60 MIDP Concept SDK63Nokia Developers’ Suite for J2ME2.0 (NDS) 63–6, 241–2Nokia N-Gage 451Nokia UINokia 3600/3650 448Nokia 3620/3660 449Nokia 6600 460Nokia 6620 461Nokia 7650 447Nokia 7700 462Nokia N-Gage 451Sendo X 452notifyIncomingMessageinterface 195–6OBEX see Object ExchangeProtocolobfuscationCodeWarrior 69expense application case study279–80J2ME Wireless Toolkit 56JAR file size 331, 332JBuilder 67optimizing code 391–2object creation, optimizing code338–40Object Exchange Protocol (OBEX)208, 244object interaction 321, 322468object pools 340Observer pattern 322OMA DRM Version 1.0 419–20oneshot interaction mode 102online developer resources439–40on-stack replacement 390opening recordstores 149–50,264–5openRecordStore() method149–50operating systems 54–5operators 401, 402–3OPL 398, 399Optimization test MIDlet 351optimizing code 335–92arithmetic operations 385Array copying 351–2benchmarking 336–7design patterns 386–8Dynamic Adaptive Compilation390–1feedback 338general guidelines 337–8graphics 358–66Just In Time compliers 390LifeTime case study 366–84looping 352–7memory management 388–9method modifiers and inlining340–3obfuscators 391–2object creation 338–40responsiveness 338strings 343–8tools 372–7using containers 348–9optional APIs 330–1-ossx parameter 354OTA see over-the-airout-of-memory errors 332, 389,428output classes 424–5OutputTextBox class 361over-optimization 337over-the-air (OTA)emulation 55MIDlet installation 84–5provisioning 15–16, 107INDEXpackagescore 435–6networking 429–30packaging process 437–8packet based protocols 224paintCanvas() method 370–1paintCount 360, 361paintingclipping region 362image buffer 363–4Popcorn drawing demonstrator358–65strategies comparison 364–5whole background 359–62paint() method 41alpha blending 148–9code optimization 364, 365KeyPad class 130LifeTime 372Popcorn test program 359SpriteCanvas 138paired remote devices 228–9Palm OS 6, 397parsing XML, synchronization274–5, 277patterns, game of life 366–70pauseApp() method 48,169–70, 293, 298paused states 47–8, 53–4, 293,298Payment API (JSR 229) 417PC operating systems 54–5performance issues, profiling373–5, 377persistent storage 16, 44–5, 422,434see also Record ManagementsystemPersonal Basis Profile 7, 20PersonalJava 398, 399BenQ P30 453Nokia 9210i 446Sony Ericsson P800 454Sony Ericsson P900 459Motorola A920/A925 455PersonalJava technology 7,398, 399Personal Profile 7, 19–20Picture Puzzle MIDletcase study 248, 294–315choice form 300–2game logic 306–11image capture 178–9, 302–5image names/IDs 306, 314–15image record stores 311–15MIDlet lifecycle 295–300PIN codes 227–8pixelLevel 366PKI see Public Key InfrastructureplatformRequest() method145–6Player 159, 160–1PlayerListener interface 158,164playerUpdate() method 171playing media content 161–4PNG see Portable NetworkGraphicspointer-based devices 328, 329pointerDragged() method130pointerPressed() method41, 42, 130pointerReleased() method130polling 328, 357Popcorn drawing demonstrator358–65portable code 319–33CLDC 8design patterns 320–5download limitations 331–2heap memory 332–3high-level user interfacecomponents 329input methods variation 328–9key codes 42low-level graphical content326–8Model–View–Controller designpattern 320–2Model–View design pattern322–3portability issues 326–33problems 319proprietary and optional APIs330–1user interfaces 29, 30–1INDEXPortable Network Graphics (PNG)183portingdesign patterns 323–4heap memory 332Java benefits 409predicted worldwide revenue396–7prefetch() method 161, 162PREKNOWN devices 223–4presentation code/business logicseparation 263pre-verification 280, 437–8privacy 340, 343profiles 5–6, 207profiling tools 372–5, 377ProGuard obfuscation 56,279–80proprietary APIs 330–1proprietary operating systems 397protected APIs 96, 187–8protection domains 101–2, 106,107, 113protocol monitoring 56protocol stack 206–7provisioning channels 402–3public instance methods 343Public Key Infrastructure (PKI)96–8, 420Publisher–Subscriber pattern 322pucks 358–65Push RegistryBluetooth 244J2ME Wireless Toolkit 56MIDP 2.0 119–23Networking 46WMA 192–3, 195, 199‘‘quick and dirty’’ Bluetooth serviceconnection 222–3racing game see Demo Racer gameRAM see memoryrcvbuf socket option 111realize() method 161, 162realloc 354Real Time Protocol (RTP) 160Receiver class 196–8receiving messages 191–2Recommended Security Policy(RSP) for GSM/UMTSCompliant Devices 106–7,230RecordControl 184–5, 186record IDs 314–15Record Management System (RMS)44–5captured images 294, 311–15expense application case study264–9MIDP 2.0 149–55Picture Puzzle application311–15RecordStore 45recursion 352–7, 382–4registerAlarm() method 122registerConnection()method 121registration 208–14rendering 370–1repaint() methodalpha blending 149clipping region painting 362image buffer painting 363sprite animation 138whole background painting361repaint strategies 358requirements overview 249–51resources 439–44responsiveness 338retrieveDevices() method223–4revenue predictions, worldwide396–7RFCOMM protocol 206–7, 213,224RMS see Record ManagementSystemRMSReader MIDlet 153–5RMSWriter MIDlet 150–2robustness 407–9Rococo Impronto Simulator 241root certificates 98root keys 98route planning 403469r Pentomino pattern 367, 368RSP see recommended securitypolicyRTP see Real Time Protocolrun() methodAudioPlayer class 166–7MIDlet animation 143–4Receiver class 197–8synchronization worker threads270–3VideoPlayer class 175run scripts 281Runtime.gc() method 389runtime support 326sales, annual 395–6sales force automation 404sample applications 46–54,247–315screen display resolution 422Screen objects 34screen size 327–8SDDB see Service DiscoveryDatabaseSDKs 63, 76–82, 242–4SDP see Service Discovery ProtocolsearchServices() method219secure socket support 112–13securityBluetooth 227–30CLDC devices 12end-to-end 435Java benefits 406–7MIDP 2.0 96–107, 187–9,200–1, 230MIDP 16network connections 114–15Push Registry 122–3Recommended Security Policyfor GSM/UMTS CompliantDevices 230Security and Trust Services (JSR177) 414selector item 253–6selectService() method 223sending SMS messages 190–1Sendo X 452470separate delivery 419Series 60 Developer Platform1.0/2.0 182–5, 188Series 60 MIDP SDK 63, 242–3series 60 phones 253–6server creation 212–14, 225ServerSocketConnectioninterface 111server socket support 110–12service connection 222–3, 226service discovery 218–21Service Discovery Database(SDDB) 209, 219Service Discovery Protocol (SDP)412service provider requirements400ServiceRecords 209–11, 219,226service registration 208–14servicesDiscovered()method 218Session Initiation Protocol (SIP)415–16session interaction mode 102setCell() method 136setLayout() method 124setPosition() method 138setter methods 342–3short-lived objects 339Siemens SX1 specifications 450signatures, digital 96–8, 102–5SIMPLE clients 416–17SIP see Session Initiation ProtocolSIP API for J2ME (JSR 180)415–16SIP-unaware applications 416slave-master roles 222‘‘smart houses’’ 422SMS messages 189–201sndbuf socket option 111SocketConnection interface111Socket Demo MIDlet 116–19socket support 109–10Sony Ericsson P800 454Sony Ericsson P900J2ME SDK 81–2INDEXMIDP 2.0 89, 93–4, 107, 182,201, 202Push Registry 123security policy 115specifications 459UIQ SDK 76Sony Ericsson P908MIDP 2.0 89, 93–4, 107, 182,201, 202Push Registry 123security policy 115sound download limitations 332Spacer class 39, 126specifications, Symbian OS phones445–62speed, graphics problem 358Sprite class 44code portability 327–8collision detection 365–6Demo Racer game 284–8, 290Game API 136–9Helloworld 51–3Stack containers 348–9stack size 354standardization, Java benefits 407startApp() methodpaused states 47–8, 169, 293,298Push Registry 121SMS ChatMIDlet 195use 299start() method 161, 162startPlayer() method 167startup time, optimizing code338static variables, optimizing code341–3stop() method 162storagepersistent 16, 44–5, 422, 434see also Record Managementsystemstream based protocols 224StringBuffer 344–5, 346–8,350StringItem class 39, 125stringscomparing 343–4concatenating 344–5keys in hash tables 345–6optimizing code 343–8StringBuffer memory trap346–8SunJava history 21Java Verified Program 420virtual machines 8Sun J2ME Wireless Toolkit, see alsoWireless ToolkitSun ONE Studio 72–6, 392supermarket shopping 403support capability determination186–7Symbianspecific extensions 417–18websites 439wireless devices proportion397Symbian OSCLDC 94–5Java history 21JTWI 93–4push architecture 123Version 8.0 185–6, 412–13Version 8.x 413–14Symbian OS phonesMIDP support 89Mobile Media API 180–7security model 107specifications 445–62WMA 201synchronization 269–77System.arraycopy() method351–2system classes 423task continuity 402technology trends 421–2telephony APIs 418TextBox object 36TextField 39–40thisGeneration 372threading 42–3, 338Ticker 40TiledLayer class 44, 132–6,284, 310, 327time classes 425–6time issues 407–9INDEXTimer Task 269–70tone generation 157, 179–80toolsMIDP 54–66optimization 372–7websites 440see also Wireless ToolkittotalMemory() method 389touch screen devices 324transparency 146–9trends in technology 421–2trust anchors 98, 99trusted MIDlet suites 96trusted protection domain 230ubiquitous services 421UEI see Unified Emulator InterfaceUIQ SDK 76–82, 242–4UIQ user interface 253–6, 262–4UML class diagrams 321, 323,324, 369UML sequence diagrams 322Unified Emulator Interface (UEI)74–6Universally Unique Identifiers(UUIDs) 211–12, 219, 223untapped markets 401–2untrusted MIDlets 105–6, 188,200untrusted protection domain 230user interfacesbusiness logic separation 263classes 430–2design patterns 324–5MIDP 29–44UIQ 253–6, 262–4see also LCDUIUUIDs see Universally UniqueIdentifiersvalue-added services 410variables, optimizing code 340–3Vector 348–9, 350verification 420video media 157, 172–8image capture 302–5paused states 298Video Player MIDlet 172–8View see Model–View–Controllerdesign pattern; Model–Viewdesign patternvirtual machines 8–9Visual Basic 398, 399vmCopy() method 351VM progress 411Web Server components 277–8website resources 439–44whole background painting359–62WiFi 399wireless Java market 395–400Wireless Messaging API (WMA)189–201471BenQ P30 453emulation 55JTWI 92Nokia 3600/3650 448Nokia 3620/3660 449Nokia 6600 460Nokia 6620 461Nokia 7700 462Nokia N-Gage 451Sendo X 452Siemens SX1 450Sony Ericsson P900 459wireless networking 115–16Wireless Toolkit (WTK) 54–9,104–5, 371–2benchmarking 336–7command line 437–8expense application case study249heap analysis 375–6, 377LifeTime 370–1limitations 29profiling 372–5WMA see Wireless Messaging APIworker threads 270–3wrappers, OMA DRM 419WTK see Wireless ToolkitX.509 PKI 96–8XML parsing 274–5, 277zoomFactor 385.

Характеристики

Тип файла
PDF-файл
Размер
5,73 Mb
Материал
Тип материала
Высшее учебное заведение

Список файлов книги

Свежие статьи
Популярно сейчас
Зачем заказывать выполнение своего задания, если оно уже было выполнено много много раз? Его можно просто купить или даже скачать бесплатно на СтудИзбе. Найдите нужный учебный материал у нас!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
6294
Авторов
на СтудИзбе
314
Средний доход
с одного платного файла
Обучение Подробнее