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
Forum posts: 55
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
Forum posts: 124
hi,
check this link..
http://www.newlc.com/How-to-Display-the-Uid-of.html
Regards,
Mateen Maldar
Mateen Maldar