| description:
|
This example demonstrates how to load CAknSettingItemList dynamically at run
time instead of defining the list structure into a resource file. In the example, the lists are loaded during application startup. The example can be used as the basis for many different applications where a list has to be loaded dynamically (for instance, based on external
feed from a server). Note that CAknSettingItemList itself is not ideal for dynamic loading, but it is possible by using dummy resource IDs and defining all the required list item types in the source code. At run time it is then possible to load multiple instances of each list item type (with any label and value). The application has been updated to be compatible with S60 5th Edition and touch UI. Important classes: CAknSettingItemList.
|
| type:
|
Example
|
| topics:
|
S60
S60 3rd Edition
S60 5th Edition
Symbian C++
UI
|
| intended audience:
|
Intermediate
|
S60 Platform: Dynamic Setting List Example v1.1
This example demonstrates how to load CAknSettingItemList dynamically at run
time instead of defining the list structure into a resource file. In the example, the lists are loaded during application startup. The example can be used as the basis for many different applications where a list has to be loaded dynamically (for instance, based on external
feed from a server). Note that CAknSettingItemList itself is not ideal for dynamic loading, but it is possible by using dummy resource IDs and defining all the required list item types in the source code. At run time it is then possible to load multiple instances of each list item type (with any label and value). The application has been updated to be compatible with S60 5th Edition and touch UI. Important classes: CAknSettingItemList.
Zip Archive (.zip); English (en)02-Oct-2008 
|
| see also:
|
S60 Platform: Settings Screen Example
|
Additional information
| distribution:
|
Forum Nokia Global Web Site
S60 Web Site
|
| publication rights:
|
Copyright © 2006-2008 Nokia Corporation.
|
<< Back to Previous Page
RDF Facets:
qdcZdescriptionQSxThisE20eE78ampleE20demonstratesE20howE20toE20loadE20CAknSettingItemE4cistE20dynamicallyE20atE20runE0atimeE20insteadE20ofE20definingE20theE20listE20structureE20intoE20aE20resourceE20fileE2eE20InE20theE20eE78ampleE2cE20theE20listsE20areE20loadedE20duringE20applicationE20startupE2eE20TheE20eE78ampleE20canE20beE20usedE20asE20theE20basisE20forE20manyE20differentE20applicationsE20whereE20E20aE20listE20hasE20toE20beE20loadedE20dynamicallyE20E28forE20instanceE2cE20basedE20onE20eE78ternalE20E0afeedE20fromE20aE20serverE29E2eE20NoteE20thatE20CAknSettingItemE4cistE20itselfE20isE20notE20idealE20forE20dynamicE20loadingE2cE20butE20E20itE20isE20possibleE20byE20usingE20dummyE20resourceE20IE44sE20andE20definingE20allE20theE20reE71uiredE20listE20itemE20typesE20inE20theE20sourceE20codeE2eE20AtE20runE20timeE20itE20isE20thenE20possibleE20toE20loadE20multipleE20instancesE20ofE20eachE20listE20itemE20typeE20E28withE20anyE20labelE20andE20valueE29E2eE20TheE20applicationE20hasE20beenE20updatedE20toE20beE20compatibleE20withE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE3aE20CAknSettingItemE4cistE2eX
qdcZidentifierQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f2e80a6f4E2d9d9bE2d45d1E2db268E2dd01b862a7023E2fS60E5fPlatformE5fE44ynamicE5fSettingE5fE4cistE5fE45E78ampleE5fv1E5f0E2ezipX
qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fae8f6394E2db153E2d46e1E2d83c7E2d4f78641ad6cfE2fS60E5fPlatformE5fE44ynamicE5fSettingE5fE4cistE5fE45E78ampleX
qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f3eeab5afE2dce57E2d4c25E2dbac0E2dd71d620bf6adE2fS60E5fPlatformE5fSettingsE5fScreenE5fE45E78ampleX
qdcZtitleQSxS60E20PlatformE3aE20E44ynamicE20SettingE20E4cistE20E45E78ampleX
qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ
qdcZtypeQUqfnZE45E78cludedFromSearchQ
qdcZtypeQUqfnZPrimaryE52esourceQ
qdcZtypeQUqfntypeZApplicationQ
qdcZtypeQUqfntypeZE45E78ampleQ
qdcZtypeQUqfntypeZE52esourceQ
qdcZtypeQUqmarsZManagedE52esourceQ
qdcZtypeQUqmarsZMediaObjectQ
qdcZtypeQUqwebZInformationE52esourceQ
qdcZtypeQUqwebZE52esourceQ
qdcZtypeQUqrdfsZE52esourceQ
qrssZdescriptionQSxThisE20eE78ampleE20demonstratesE20howE20toE20loadE20CAknSettingItemE4cistE20dynamicallyE20atE20runE0atimeE20insteadE20ofE20definingE20theE20listE20structureE20intoE20aE20resourceE20fileE2eE20InE20theE20eE78ampleE2cE20theE20listsE20areE20loadedE20duringE20applicationE20startupE2eE20TheE20eE78ampleE20canE20beE20usedE20asE20theE20basisE20forE20manyE20differentE20applicationsE20whereE20E20aE20listE20hasE20toE20beE20loadedE20dynamicallyE20E28forE20instanceE2cE20basedE20onE20eE78ternalE20E0afeedE20fromE20aE20serverE29E2eE20NoteE20thatE20CAknSettingItemE4cistE20itselfE20isE20notE20idealE20forE20dynamicE20loadingE2cE20butE20E20itE20isE20possibleE20byE20usingE20dummyE20resourceE20IE44sE20andE20definingE20allE20theE20reE71uiredE20listE20itemE20typesE20inE20theE20sourceE20codeE2eE20AtE20runE20timeE20itE20isE20thenE20possibleE20toE20loadE20multipleE20instancesE20ofE20eachE20listE20itemE20typeE20E28withE20anyE20labelE20andE20valueE29E2eE20TheE20applicationE20hasE20beenE20updatedE20toE20beE20compatibleE20withE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE3aE20CAknSettingItemE4cistE2eX
qrssZtitleQSxS60E20PlatformE3aE20E44ynamicE20SettingE20E4cistE20E45E78ampleX
qeditorZdescriptionE5fcreatedQDx2008E2d09E2d10T07E3a17E3a22E5aX
qeditorZdescriptionE5fmodifiedQDx2008E2d10E2d06T11E3a19E3a04E5aX
qeditorZtypeQUqfntypeZApplicationQ
qeditorZtypeQUqfntypeZE45E78ampleQ
qeditorZtypeQUqfntypeZE52esourceQ
qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ
qfnZaudienceQUqfnAudienceZintermediateQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X
qfnZcompatabilityQSxE28S60E201stE20E45ditionE29X
qfnZcompatabilityQSxS60E202ndE20E45ditionX
qfnZcompatabilityQSxS60E203rdE20E45ditionX
qfnZcompatabilityQSxTestedE20onE20NokiaE206600E2cE20NokiaE206670E2cE20NokiaE206630E2cE20NokiaE20N90E2cE20NokiaE20E4560X
qfnZcompatibilityQSxE28S60E201stE20E45ditionE29X
qfnZcompatibilityQSxS60E202ndE20E45ditionX
qfnZcompatibilityQSxS60E203rdE20E45ditionX
qfnZcompatibilityQSxTestedE20onE20NokiaE206600E2cE20NokiaE206670E2cE20NokiaE206630E2cE20NokiaE20N90E2cE20NokiaE20E4560X
qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX
qfnZdistributionQUxhttpE3aE2fE2fwwwE2es60E2ecomE2fX
qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X
qfnZpublishedQDx2008E2d10E2d02T18E3a30E3a00E5aX
qfnZtopicQUqfnTopicZcppQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60E5f3edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60E5f5edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZuiQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtypeQUqfntypeZApplicationQ
qfnZtypeQUqfntypeZE45E78ampleQ
qfnZtypeQUqfntypeZE52esourceQ
qfnZusE5foriginQLqE78sdZbooleanQxtrueX
qfnZuserE5ftagQSxs60X
qfnZuserE5ftagQSxs60E2d3rdE2deditionX
qfnZuserE5ftagQSxs60E2d5thE2deditionX
qfnZuserE5ftagQSxsymbianE2dcE2bE2bX
qfnZuserE5ftagQSxuiX
qmarsZdescriptionQSxThisE20eE78ampleE20demonstratesE20howE20toE20loadE20CAknSettingItemE4cistE20dynamicallyE20atE20runE0atimeE20insteadE20ofE20definingE20theE20listE20structureE20intoE20aE20resourceE20fileE2eE20InE20theE20eE78ampleE2cE20theE20listsE20areE20loadedE20duringE20applicationE20startupE2eE20TheE20eE78ampleE20canE20beE20usedE20asE20theE20basisE20forE20manyE20differentE20applicationsE20whereE20E20aE20listE20hasE20toE20beE20loadedE20dynamicallyE20E28forE20instanceE2cE20basedE20onE20eE78ternalE20E0afeedE20fromE20aE20serverE29E2eE20NoteE20thatE20CAknSettingItemE4cistE20itselfE20isE20notE20idealE20forE20dynamicE20loadingE2cE20butE20E20itE20isE20possibleE20byE20usingE20dummyE20resourceE20IE44sE20andE20definingE20allE20theE20reE71uiredE20listE20itemE20typesE20inE20theE20sourceE20codeE2eE20AtE20runE20timeE20itE20isE20thenE20possibleE20toE20loadE20multipleE20instancesE20ofE20eachE20listE20itemE20typeE20E28withE20anyE20labelE20andE20valueE29E2eE20TheE20applicationE20hasE20beenE20updatedE20toE20beE20compatibleE20withE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20ImportantE20classesE3aE20CAknSettingItemE4cistE2eX
qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f67c2c753E2d1ddeE2d4f90E2da510E2d58048016a6a5E2fS60E5fPlatformE5fE44ynamicE5fSettingE5fE4cistE5fE45E78ampleE5fv1E5f1E5fenE2ezipX
qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX
qmarsZtitleQSxS60E20PlatformE3aE20E44ynamicE20SettingE20E4cistE20E45E78ampleX
qncZrightsQSxCopyrightE20Ea9E202006E2d2008E20NokiaE20CorporationE2eX
qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ
qrdfZtypeQUqfnZE45E78cludedFromSearchQ
qrdfZtypeQUqfnZPrimaryE52esourceQ
qrdfZtypeQUqfntypeZApplicationQ
qrdfZtypeQUqfntypeZE45E78ampleQ
qrdfZtypeQUqfntypeZE52esourceQ
qrdfZtypeQUqmarsZManagedE52esourceQ
qrdfZtypeQUqmarsZMediaObjectQ
qrdfZtypeQUqwebZInformationE52esourceQ
qrdfZtypeQUqwebZE52esourceQ
qrdfZtypeQUqrdfsZE52esourceQ
qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f3eeab5afE2dce57E2d4c25E2dbac0E2dd71d620bf6adE2fS60E5fPlatformE5fSettingsE5fScreenE5fE45E78ampleX