diff -r 5072524fcc79 -r 80ef3a206772 Symbian3/PDK/Source/GUID-D2605514-03F4-4A07-943B-E180341518D4.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-D2605514-03F4-4A07-943B-E180341518D4.dita Fri Jul 16 17:23:46 2010 +0100 @@ -0,0 +1,42 @@ + + + + + +Retrieving application information using application UIDThis tutorial describes how application information can +be retrieved from the SCR for a specific application UID. +

The Client +applications must link against scrclient.dll.

+ +Connect +to the SCR server. +#include <usif/scr/scr.h> +Usif::RSoftwareComponentRegistry scrSession; +scrSession.Connect(); + + +Create an +object of RApplicationRegistrationInfo to retrieve +application information based on application UID. +RApplicationRegistrationInfo subSession; + +Open a RApplicationRegistrationInfo subsession to retrieve application +information based on application UID. + subSession.OpenL(scrSession); + +Retrieve +the information using RApplicationRegistrationInfo::GetAppInfoL(). +// GetAppInfoL() takes the application UID and an output parameter. +// The locale can be specified (optional) as the +// third parameter. If locale is not specified the default value is assigned. + TAppRegInfo appInfo; + subSession.GetAppInfoL(TUid::Uid(0x1000ABCD), appInfo); + + +
\ No newline at end of file