UId of the Standard Applications

Login to reply to this topic.
Wed, 2007-09-12 09:20
Joined: 2007-08-31
Forum posts: 10


hi ,
I want to know is there any way of knowing uid of some standard applications

like contacts,settings application , so that i may be able to launch it any one of its

view from the my application , by creating TVwsViewId object.

Thanks in advance


Sat, 2007-09-15 12:32
Joined: 2007-07-24
Forum posts: 55
Re: UId of the Standard Applications

hi ,
Yes u can get all the uids by using following code.
TApaAppInfo appInfo; RApaLsSession iLsSession;
// Get info on all apps, then iterate through each app
// and write its info (caption, name, uid) to file
User::LeaveIfError(iLsSession.GetAllApps());
while(iLsSession.GetNextApp(appInfo) == KErrNone)
{
buf.Zero();
buf.AppendNum(appInfo.iUid.iUid, EHex);
buf.Append(_L("\t"));
buf.Append(appInfo.iCaption);
buf.Append(_L("\t"));
buf.Append(appInfo.iFullName);
buf.Append(_L("\r\n"));
fileBuf.Copy(buf);
}
Thanks
mitu

Mon, 2007-09-17 09:58
Forum Nokia Champion
Joined: 2005-08-31
Forum posts: 124
Re: UId of the Standard Applications

hi,

check this link..

http://www.newlc.com/How-to-Display-the-Uid-of.html

Regards,
Mateen Maldar


Mateen Maldar

  • Login to reply to this topic.