How to Display the Uid of Applications installed on 3.0 phones

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Created: ltomuta (09 Jul 2007)
Last edited: hamishwillee (18 Sep 2012)
Reviewer Approved    Thumbs up icon sm.jpg

If you have to find out the UID of all the application installed on your 3rd edition device then here is the way to do it .


The following code will display UID of all the application installed on the phone

It uses the following classes:

RApaLsSession iLsSession;
MAppUidObserver& iObserver;
RArray<TAppInfo> iApps;
class MAppUidObserver {
virtual void AppsFoundL(RArray<TAppInfo> aAppList) = 0;
       class TAppInfo
TInt32 iAppUid;
TApaAppCaption iAppCaption;
         void CAppUidViewerEngine::AppsToUiL()
TApaAppInfo apaAppInfo;
TAppInfo appInfo;
// Get info on all apps, then iterate through each app
while(iLsSession.GetNextApp(apaAppInfo) == KErrNone)
appInfo.iAppCaption = apaAppInfo.iCaption;
appInfo.iAppUid = apaAppInfo.iUid.iUid;
// iObserver.AppsFoundL(iApps);

The above snippets will extract the UID of the application and Append it in and Array which will be passed to the view class for display

This page was last modified on 18 September 2012, at 08:58.
36 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.