quick_recipes (779892), страница 64

Файл №779892 quick_recipes (Symbian Books) 64 страницаquick_recipes (779892) страница 642018-01-10СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

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

Membership of the UIQ Alliance is by invitation, and more detailsare available at partner.uiq.com/portal/partner.nsf/external/howto.IndexNote: Page numbers in italics refer to figures and tables.3D graphics using OpenGL ES217–18animating a scene 231–4adapting performance of 234–5applying a texture to a 3D object228–9displaying a 3D object 222–6full-screen setup 219–22OpenGL to OpenGL ES, versionmapping 218–19part-screen setup 229–31resources 235–6rotating a 3D object 227translating a 3D object 226–7active objects 65–6active scheduler 70–2CActive class 67–9common problems with 72–3preemption 66–7TRequestStatus class 70active scheduler 70–2AdoptFromXyz() methods 104–6advanced application deploymentautomatic installation 326custom install 326–7embedded binaries 327advanced technologiesmessaging, new protocol for323–5publish and subscribe API319–20server process, file sharing 320–1for Symbian Partners 325–6user interface features 321–3animationGIF images, loading 209–11of a 3D object 231–5application 329distribution 341–9internationalization 338–40optimization 333–4protection 334–6signing digital certificate336–8testing 331–3UI standard look and feel329–31Application Binary Interface (ABI)4AppTestPro, testing tool 332ARM hardware 4arrays 54CArrayX 57dynamic 55–6RArray classes, cleanup of56–7sorting and searching 57–8static 54audio clips, playing 238–41audio operations, performing basic241–2audio recording 253–5audio streaming 250–2audio tones, playing 242–3authorization server, softwareprotection 335automatic installation326background color, drawing198–9battery status, retrieving 271–2binary datareading from a file 83–5writing to a file 80–3Bluetoothadvertise services 297–8create a simple OBEX Server295–7discover devices in range286–8350discover services available288–90for OBEX communication294–5transfer data using Sockets API290–2buffer descriptors 46–7build configurations 13–14C classes 31–2CActive class 67–9Calendar 106–7add new event 117–20Calendar database 108–9create repeating event 126–8find out if you are available133–4get attendee list 134–6modify an event 115–17remove an event 120send/receive events betweendifferent devices 124–6call barring status, retrieving281–2call forwarding status, retrieving280–1callbacks 74–5camerascapturing still images from258–60recording video from 260–3viewfinder 255–6displaying 257–8getting camera information256–7initializing camera 257capabilities 24and data caging 62platform security 60–1for recipes 177capability-related tests 337–8Carbide.c++ 3advanced topics 21changing certificate/key pair24–7importing project files 24modifying the project files22–4INDEXdownloading the IDE 2running the IDE 9–10CArrayX classes 57certificate/key pair, changing24–7character sizes 44class conventions 30–3cleanup stack 36–8advanced information 38–40command line tools 6CommsDat API and database137–8, 140compilers 2connectivity 282–3Bluetooth devices, discovering286–8Bluetooth servicesadvertising 297–8discovering 288–90create simple OBEX client294–5over Bluetooth 295–7discover infrared devices284–6print over IrDA 283–4Sockets API 290–3see also networkingconstruction, two-phase 40–2contacts 106–7add a new contact 113–14contacts database 107–8find a contact 128–31move contact to another group131–3read data from a contact111–13remove a contact 114–15send/receive between differentdevices 122–4sort contacts 121–2write data to a contact109–11content aggregators, distribution344controller plug-ins 326controls, drawing inside anothercontainer 206–7custom installations326–7data caging 62data types, fundamental 29–30deployment 326–7descriptor classes 44APIs 50–3base classes 45character size 44choosing descriptor type 52class inheritance 46derived classes 45buffer descriptors 46–7pointer descriptors 45–6dynamic descriptors 47–9function parameters and returntypes 53–4literal descriptors 49–50summary of 51developer certificates 24–7development communities 3development efforts 4digital certificates 336Publisher IDs 336–7Symbian Signed tests 337–8direct file stores 99direct screen access (DSA) 195,216directory structures 6–7distribution 341content aggregators 344independent software channels342–4network operators 341–2open source 345pre-installed applications 344DoCancel() 69drawing see graphics and drawingdual-tone multi-frequency (DTMF)tones 243, 269dynamic arrays 55–6dynamic descriptors 47–9Dynamic Navigation Links (DNL)322email 172–3, 177classes for editing messagesettings 187location in message store 174retrieving addresses 134–6INDEXembedded binaries, deployment327emulators 5–6, 7configuring 15–16running applications on 14–15error codes 35ESOCK (Sockets Server) 136–7,282–98event handling 65–73, 195–6exception handling 33–6executable files 58–9UIDs 59–60ExternalizeL() method 64–5file handling 78–9file server session 79–80file store, read from and write to98–104file stream, read from and writeto 90–6file stream, read and write classmembers 96–8private folder path 86–90read binary data from a file83–5read text from a file 85–6resources 106share files between processes104–6server file sharing 320–1write binary data to a file 80–3File Server plug-in, deployment325file stores 98–9compacting 103reading from 101into an array 103–4multiple streams 101–3writing to 99–101filling shapes 198–9flicker-free graphics 208–9flight mode status, retrieving 274fonts, loading 205–6Forum Nokia Launchpad347–8Forum Nokia PRO 348–9fundamental data types29–30global positioning system (GPS)299–317graphics and drawing 194–6background color/fill a shape198–9controls, drawing multiple206–7direct screen access, drawingwith 216double-buffering for flicker-freegraphics 208–9drawing outside Symbianapplication framework213–15fonts, loading 205–6GIF animation images, loading209–11image with transparent section,drawing 200–1lines and shapes, drawing197–8load and draw MBM/MIF images199–200load JPG or PNG images201–3skins as backgrounds, drawing211–13text drawing to the screen203–5see also 3D graphics usingOpenGL ESGUIDs 117–20HBufC, dynamic descriptor 47–8,52–3heap size 62–3Hello World projectbuilding 13–14generating 10–13modifying 18–22running on the device15–18running on the emulator14–16template 9HTTP framework 141HTTP GET request 150–3HTTP POST request164–7351HTTP proxy information,retrieving 169–71setting advanced HTTPproperties 167–8imagesdrawing with a transparentsection 200–1loading/drawing MBM or MIF199–200loading JPG or PNG201–3see also graphics and drawingimporting project files 24independent software channels,distribution 342–4InetProtUtils 142loading JPG or PNG 201–3Infrared Data Association (IrDA)create an OBEX client over294–5discovering devices 284–6printing a document to an IRprinter 283–4transfer data over 291–2initialization 40–2installation 1–2automatic 326custom 326–7post-installation 6–7SIS file 16–18Integrated DevelopmentEnvironment (IDE) 2running 9–10Inter Process Communication (IPC)320–1InternalizeL() method 64–5International Mobile EquipmentIdentity (IMEI), retrieving 272Iinternationalization of application338–40Internet Access Point (IAP) 138,140, 144force a connection to use aspecific IAP 146–8Internet protocols 136–7Internet, selling application over335352leaves 33–4causes of 35–6new (ELeave) 36TRAP and TRAPD macros34–5versus panics 34librariesadding to project file 23messaging 176lines and shapes, drawing 197–8literal descriptors 49–50localization 338–40location-based services (LBS)299–302list positioning technologymodules 302–4location information, requesting310–15extended information 315–17receive module status changenotifications 305–8retrieve current module statusinformation 304–5set module selection criteria308–10M classes 32mail store debugging 176memory management 40–2,56–7menusadding a new menu item18–20handling a menu event 20–2Message Type Module (MTM)plug-in 323–5messaging 172applications, tips for writing176copy a message 188–9delete a message 191–2edit message 185–6folder creation 180–1handle incoming messages192–4initialize application to use177–80message creation 182–3INDEXmessage storestructure and main classes173–4types of entry 174–5Message Type Module (MTM)plug-in 323–5move a message 189–90read message details 183–5resources 194retrieve and edit messagesettings 187send a message 190–1SendAs server 173services 173supported bears 172–3MIDI files, playing 243–4MMS (Multimedia MessageService) see messagingmobile development concepts 4multi-image files (MBMs or MIFs)199–200multimedia 236–8additional format streaming325–6audio clip, playing 238–41audio recording 253–5audio streaming 250–2audio tone, playing 242–3basic audio operations 241–2camera, capturing still imagesfrom 258–60camera viewfinder, displaying255–8default file storage location244–7MIDI file, playing 243–4phone calls, recording 255resources 263video clipsplaying 247–50saving to file 260–3multimedia framework (MMF)236–8controller plug-in 326network operators, distribution341–2network registration status,retrieving 275network signal strength, retrieving271networking 136–7active connection information,retrieving 161–2advanced HTTP properties,setting 167–8APIs needed 137–8connection status, monitoring159–61domain name, resolving148–50environment setup 138–9SDK configuration tools 139WinPCap 139–40WinSock and WinTAP 141forcing connection to usespecific bearer 145–6forcing connection to usespecific IAP 146–8HTTP framework 141HTTP GET request 150–3HTTP POST request 164–7HTTP proxy information,retrieving 169–71InetProtUtils 142listen for incoming connectionusing TCP 157–9resources 171–2secure socket connection, using162–4send/receive data using TCPsockets 142–4URI creation 154–7URI filename, extracting168–9URI parsing 153–4new (ELeave) 36NewL() and NewLC() 42Nokia Software Market 343–4network information 279–80network name, retrieving current273OBject EXchange (OBEX)create a simple client 294–5create simple Server overBluetooth 295–7INDEXoff-screen bitmaps 208–9open source 4, 338, 345OpenGL ES 217–18mapping to OpenGL version218–19see also 3D graphics using OpenGL ESoperator name, retrieving current273–4optimization of application333–4OTI (over the Internet) purchasing335, 342–3panics 34, 38–9permanent file stores 99–103personal information management(PIM) services 106–36phone callshandling 268–9recording 255phone line state, retrieving269–70phone lock status, retrieving278–9phone numbersidentifying contact associatedwith 276–7retrieving fromincoming/outgoing call276setting restrictions 268platform security capabilities60–1pointer descriptors 45–6positioning technology seelocation-based servicespreemption 66–7private folder path 86–90projectsbuilding 13–14creating new 10–13importing project files 24modifying project files 22–4running 14–16protection of application 334–6publish and subscribe API319–20Publisher ID digital certificates336–7PushL () 38R classes 32RArray classes, cleanup of 56–7RBuf, dynamic descriptor 48–9release of applicationdistribution 341–9what to do before 329–40resources 345–63D graphics 235–6Development Communities 3file handling 106messaging 194multimedia 263networking 171–2Symbian Press books 346–7RSS and RLS resource files,internationalization 339–40RThread class 73–4RunError() 69RunL() 67–9, 71, 73–4running an application 14–16RVCT (Real View CompilationTools), optimizing code 334S60 platform 5advanced UI features 322configuring emulator 15SDKs 2configuration tools 139directories structure 6–7searchingarrays 57–8for Bluetooth services 288–90for devices in range 286–8finding a contact 128–31for infrared devices in range284–6securitynetwork 162–4platform 60–1selling application over the Internet335, 342–4serialization 96–8shapes and lines, drawing 197–8353sharing files between processes104–6, 320–1signing digital certificate intoapplication 336–8SIM card, retrieve IMSI number of277–8SIS installation files 16–18,326–7skins, drawing as backgrounds211–13SMS (Short Message Service)activation of software 334–5see also messagingSockets API, using to transfer dataover Bluetooth 290–3sortingarrays 57–8contacts in database 121–2stack-based buffer descriptorsTBufC and TBuf 46–7stack size 62–3static arrays 54static classes 33static code analysis 333stray signal panics 72streams 63–4appending to a file stream93–4detecting end of file 94–5externalize and internalize64–5read and write class members96–8reading from a file stream 92writing to a file stream 90–2string classes see descriptor classesSymbian C++ recipes 77–83D graphics using OpenGL ES217–36connectivity 282–98contacts and Calendar 106–36file handling 78–106graphics and drawing194–216location-based services (LBS)299–317messaging 172–94multimedia 236–63354Symbian C++ recipes (continued )networking 136–72telephony 263–82Symbian Developer Network345–6Symbian Ecosystem, partneringwithin 347–9Symbian OS system model 345Symbian Partners 347advanced features available to325–6Symbian Press books 346–7Symbian Signed Testing337–8SymbianOSUnit, testing tool332system requirements 1–2T classes 30–1TBufC and TBuf, stack-based bufferdescriptors 46–7, 52–3TCP socketslistening for incomingconnection using 157–9send/receiving data using142–4TDes and TDesC, descriptor classes45telephonyaccessing services 263–8battery status 271–2call barring status 281–2call forwarding status 280–1current network name 273current operator name 273–4flight mode status 274identifier number (IMEI) ofdevice 272INDEXIMSI number of SIM Card277–8network cell information279–80network registration status 275network signal strength 271phone callshandling 268–9recording 255phone linemonitoring state of 269–70sending DTMF tones 269phone lock status 278–9phone numbersmatch a name to 276–7restrictions on showing 268retrieving fromincoming/outgoing call276templatesfor projects 9thin templates 42–4testing the application 331–3TestQuest Pro, testing tool 332textdrawing to the screen 203–5reading from a file 85–6text messaging see messagingthin templates 42–4threadsand active objects 65–73multi-threaded code 73–4time zones 109timers 74–5tones 242–3, 269TPtrC and TPtr, pointer descriptors45–6, 51–2TranferToXyz() methods 104–6,320–1TRAP and TRAPD macros34–5TRequestStatus class 70UIDs 12–13, 59–60UIQ 3 platform 6advanced UI features 322–3configuring emulator 16enabling IP networking 139UIQ Alliance 349Universal Resource Identifier (URI)creating 154–7extract local filename from168–9InetProtUtils API 142parsing 153–4user interface (UI)advanced platform-specific321–3standard look and feel329–31unresponsive 73vCal Format, Calendar 124–6vCard Format, contacts 122–4VFAT (Virtual File Allocation Table)file system 78–9video clipsplaying 247–50recording 260–3WinPCap 139–40WinSock 141WinTAP 141workspaces 3, 9–10.

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

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

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

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