How to get installed apps from "Application mgr."
I use the following code to get installed apps:
[QUOTE]
RApaLsSession lsSession;
// Connect to application architecture server
User::LeaveIfError(lsSession.Connect());
CleanupClosePushL(lsSession);
TApaAppInfo appInfo;
TBuf<KMaxSize> buf;
// Get info on all apps, then iterate through each app
// and write its info (caption, name, uid) to file
lsSession.GetAllApps();
while(lsSession.GetNextApp(appInfo) == KErrNone)
{
buf.Zero();
buf.AppendNum(aInfo.iUid.iUid, EHex);
buf.Append(_L("\t"));
buf.Append(appInfo.iCaption);
buf.Append(_L("\t"));
buf.Append(appInfo.iFullName);
}
CleanupStack::PopAndDestroy(1); /
}
[/QUOTE]
But It get all installed apps on my phone. I want get installed apps from "Application mgr." (apps was installed by me)
Can anyone help me?
Re: How to get installed apps from "Application mgr."
An easy filtering is to check iFullName, and ignore entries which are located on the ROM drive, z:
The real API required for listing actual installations is not present in the SDK, but it is described and used in article [url]http://www.developer.nokia.com/Community/Wiki/How_to_uninstall_themes_programmatically[/url], you can try digging out the libraries from somewhere, maybe from the ex-open source Symbian^3 code.
Re: How to get installed apps from "Application mgr."
[QUOTE=wizard_hu_;909564][url]http://www.developer.nokia.com/Community/Wiki/How_to_uninstall_themes_programmatically[/url], you can try digging out the libraries from somewhere, maybe from the ex-open source Symbian^3 code.[/QUOTE]
they are available into the example attached to the mentioned article, just unzip it and look into group/epoc32.zip
regards
pg
Re: How to get installed apps from "Application mgr."
Thanks! Pavarang, wizard_hu_.
How to get the version of the app?
Re: How to get installed apps from "Application mgr."
RSisRegistryEntry::VersionL():
[url]http://www.symlab.org/main/documentation/reference/s3/pdk/GUID-35B7C93E-50F3-306B-95D9-07D71F0B8B27.html[/url]
example:
[url]http://www.developer.nokia.com/Community/Wiki/How_to_protect_application_copyright_information_on_Symbian[/url]
regards,
pg