| file name:
|
S60_Platform_Thread_and_Active_Objects_Example_v1_2_en.zip
|
| description:
|
The example demonstrates how to create an active scheduler and how to use active
objects inside a new thread. Inside the main thread (main program) the framework
creates the active scheduler automatically, but inside a new thread the active
scheduler must be created by the programmer. One active object is a Bluetooth device
discoverer that searches Bluetooth devices in the vicinity and displays them in
the listbox. The example has been tested to be compatible with S60 5th Edition and touch UI. Important classes and headers: RThread, RSocketServer, Btnotifier.h (Bluetooth notifier API).
|
| type:
|
Example
|
| topics:
|
Base/System
S60
S60 3rd Edition
S60 5th Edition
Symbian C++
|
| language:
|
English (en)
|
| encoding:
|
Zip Archive (.zip)
|
| intended audience:
|
Advanced
|
| compatibility:
|
S60 5th Edition, S60 3rd Edition, Feature Pack 2, S60 3rd Edition, Feature Pack 1, S60 3rd Edition. Tested with Nokia 5800 XpressMusic, Nokia E90 Communicator, and Nokia N95.
|
|
Additional information
<< Back to Previous Page
RDF Facets:
qdcZdescriptionQSxTheE20eE78ampleE20demonstratesE20howE20toE20createE20anE20activeE20schedulerE20andE20howE20toE20useE20activeE0aobjectsE20insideE20aE20newE20threadE2eE20InsideE20theE20mainE20threadE20E28mainE20programE29E20theE20frameworkE0acreatesE20theE20activeE20schedulerE20automaticallyE2cE20butE20insideE20aE20newE20threadE20theE20activeE0aschedulerE20mustE20beE20createdE20byE20theE20programmerE2eE20OneE20activeE20objectE20isE20aE20BluetoothE20deviceE0adiscovererE20thatE20searchesE20BluetoothE20devicesE20inE20theE20vicinityE20andE20displaysE20themE20inE0atheE20listboE78E2eE20TheE20eE78ampleE20hasE20beenE20testedE20toE20beE20compatibleE20withE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE20andE20headersE3aE20E52ThreadE2cE20E52SocketServerE2cE20BtnotifierE2ehE20E28BluetoothE20notifierE20APIE29E2eX
qdcZformatQNx282296X
qdcZidentifierQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2ff43e5cb1E2d8825E2d444cE2dbdfbE2d068609e07076E2fS60E5fPlatformE5fThreadE5fAndE5fActiveE5fObjectsE5fE45E78ampleE5fv1E5f1E2ezipX
qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f65f989bcE2d51a1E2d4232E2d83d8E2d3d78a340ea19E2fS60E5fPlatformE5fThreadE5fAndE5fActiveE5fObjectsE5fE45E78ampleE5fv1E5f2E5fenE2ezipX
qdcZtitleQSxS60E20PlatformE3aE20ThreadE20andE20ActiveE20ObjectsE20E45E78ampleE20v1E2e2X
qdcZtypeQUqfnZPrimaryE52esourceQ
qdcZtypeQUqfnTypeZApplicationQ
qdcZtypeQUqfnTypeZE45E78ampleQ
qdcZtypeQUqfnTypeZE52esourceQ
qdcZtypeQUqmarsZManagedE52esourceQ
qdcZtypeQUqmarsZMediaInstanceQ
qdcZtypeQUqwebZInformationE52esourceQ
qdcZtypeQUqwebZE52esourceQ
qdcZtypeQUqrdfsZE52esourceQ
qdctermsZeE78tentQNx282296X
qrssZdescriptionQSxTheE20eE78ampleE20demonstratesE20howE20toE20createE20anE20activeE20schedulerE20andE20howE20toE20useE20activeE0aobjectsE20insideE20aE20newE20threadE2eE20InsideE20theE20mainE20threadE20E28mainE20programE29E20theE20frameworkE0acreatesE20theE20activeE20schedulerE20automaticallyE2cE20butE20insideE20aE20newE20threadE20theE20activeE0aschedulerE20mustE20beE20createdE20byE20theE20programmerE2eE20OneE20activeE20objectE20isE20aE20BluetoothE20deviceE0adiscovererE20thatE20searchesE20BluetoothE20devicesE20inE20theE20vicinityE20andE20displaysE20themE20inE0atheE20listboE78E2eE20TheE20eE78ampleE20hasE20beenE20testedE20toE20beE20compatibleE20withE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE20andE20headersE3aE20E52ThreadE2cE20E52SocketServerE2cE20BtnotifierE2ehE20E28BluetoothE20notifierE20APIE29E2eX
qrssZtitleQSxS60E20PlatformE3aE20ThreadE20andE20ActiveE20ObjectsE20E45E78ampleE20v1E2e2X
qeditorZdescriptionE5fcreatedQDx2008E2d09E2d16T13E3a29E3a49E5aX
qeditorZdescriptionE5fmodifiedQDx2009E2d01E2d12T12E3a26E3a23E5aX
qeditorZtypeQUqfnTypeZApplicationQ
qeditorZtypeQUqfnTypeZE45E78ampleQ
qeditorZtypeQUqfnTypeZE52esourceQ
qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ
qfnZaudienceQUqfnAudienceZadvancedQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X
qfnZcompatabilityQSxE28S60E201stE20E45ditionE29X
qfnZcompatabilityQSxS60E202ndE20E45ditionX
qfnZcompatabilityQSxS60E203rdE20E45ditionX
qfnZcompatabilityQSxTestedE20onE20NokiaE206600E2cE20NokiaE206630E2cE20andE20NokiaE20E4560X
qfnZcompatibilityQSxE28S60E201stE20E45ditionE29X
qfnZcompatibilityQSxS60E202ndE20E45ditionX
qfnZcompatibilityQSxS60E203rdE20E45ditionX
qfnZcompatibilityQSxS60E205thE20E45ditionE2cE20S60E203rdE20E45ditionE2cE20FeatureE20PackE202E2cE20S60E203rdE20E45ditionE2cE20FeatureE20PackE201E2cE20S60E203rdE20E45ditionE2eE20TestedE20withE20NokiaE205800E20E58pressMusicE2cE20NokiaE20E4590E20CommunicatorE2cE20andE20NokiaE20N95E2eX
qfnZcompatibilityQSxTestedE20onE20NokiaE206600E2cE20NokiaE206630E2cE20andE20NokiaE20E4560X
qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX
qfnZdistributionQUxhttpE3aE2fE2fwwwE2es60E2ecomE2fX
qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X
qfnZfilenameQSxS60E5fPlatformE5fThreadE5fandE5fActiveE5fObjectsE5fE45E78ampleE5fv1E5f2E5fenE2ezipX
qfnZpublishedQDx2008E2d10E2d02T18E3a20E3a00E5aX
qfnZrepresentationQLqeditorZAttachmentQxS60E5fPlatformE5fThreadE5fandE5fActiveE5fObjectsE5fE45E78ampleE5fv1E5f2E5fenE2ezipX
qfnZtopicQUqfnTopicZbaseE5fsystemQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZcppQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60E5f3edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60E5f5edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtypeQUqfnTypeZApplicationQ
qfnZtypeQUqfnTypeZE45E78ampleQ
qfnZtypeQUqfnTypeZE52esourceQ
qfnZupdatedQDx2009E2d01E2d12T12E3a26E3a23E5aX
qfnZusE5foriginQLqE78sdZbooleanQxtrueX
qmarsZdescriptionQSxTheE20eE78ampleE20demonstratesE20howE20toE20createE20anE20activeE20schedulerE20andE20howE20toE20useE20activeE0aobjectsE20insideE20aE20newE20threadE2eE20InsideE20theE20mainE20threadE20E28mainE20programE29E20theE20frameworkE0acreatesE20theE20activeE20schedulerE20automaticallyE2cE20butE20insideE20aE20newE20threadE20theE20activeE0aschedulerE20mustE20beE20createdE20byE20theE20programmerE2eE20OneE20activeE20objectE20isE20aE20BluetoothE20deviceE0adiscovererE20thatE20searchesE20BluetoothE20devicesE20inE20theE20vicinityE20andE20displaysE20themE20inE0atheE20listboE78E2eE20TheE20eE78ampleE20hasE20beenE20testedE20toE20beE20compatibleE20withE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE20andE20headersE3aE20E52ThreadE2cE20E52SocketServerE2cE20BtnotifierE2ehE20E28BluetoothE20notifierE20APIE29E2eX
qmarsZeditionQNx1X
qmarsZencodingQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fencodingE2d1E2fzipX
qmarsZinstanceOfQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f164d14aeE2dff3fE2d4244E2d8189E2d4581b7176faaE2fS60E5fPlatformE5fThreadE5fAndE5fActiveE5fObjectsE5fE45E78ampleX
qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX
qmarsZrevisionQNx2X
qmarsZsizeQNx282296X
qmarsZtitleQSxS60E20PlatformE3aE20ThreadE20andE20ActiveE20ObjectsE20E45E78ampleE20v1E2e2X
qncZrightsQSxCopyrightE20Ea9E202005E2d2008E20NokiaE20CorporationE2eX
qncZsupersedesQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2ff43e5cb1E2d8825E2d444cE2dbdfbE2d068609e07076E2fS60E5fPlatformE5fThreadE5fAndE5fActiveE5fObjectsE5fE45E78ampleE5fv1E5f1E2ezipX
qwebZresolvesAsQUxhttpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fdpE3furiE3dhttpE253AE252FE252FswE2enokiaE2ecomE252FidE252F65f989bcE2d51a1E2d4232E2d83d8E2d3d78a340ea19E252FS60E5fPlatformE5fThreadE5fAndE5fActiveE5fObjectsE5fE45E78ampleE5fv1E5f2E5fenE2ezipX
qrdfZtypeQUqfnZPrimaryE52esourceQ
qrdfZtypeQUqfnTypeZApplicationQ
qrdfZtypeQUqfnTypeZE45E78ampleQ
qrdfZtypeQUqfnTypeZE52esourceQ
qrdfZtypeQUqmarsZManagedE52esourceQ
qrdfZtypeQUqmarsZMediaInstanceQ
qrdfZtypeQUqwebZInformationE52esourceQ
qrdfZtypeQUqwebZE52esourceQ
qrdfZtypeQUqrdfsZE52esourceQ